x86: unify arch/x86/mm/Makefile
[linux-2.6.git] / arch / x86 / mm / hugetlbpage.c
index 4fbafb4..0b3d567 100644 (file)
@@ -178,7 +178,7 @@ follow_huge_addr(struct mm_struct *mm, unsigned long address, int write)
 
        page = &pte_page(*pte)[vpfn % (HPAGE_SIZE/PAGE_SIZE)];
 
-       WARN_ON(!PageCompound(page));
+       WARN_ON(!PageHead(page));
 
        return page;
 }