]> err.no Git - linux-2.6/blobdiff - include/asm-ppc64/pgtable.h
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / include / asm-ppc64 / pgtable.h
index 5ea952ad7164ba77b3db8f473324bfe402710a5b..c83679c9d2b0f49d07ade70a6255c5af32d38074 100644 (file)
@@ -489,8 +489,10 @@ extern pgd_t swapper_pg_dir[];
 
 extern void paging_init(void);
 
+#ifdef CONFIG_HUGETLB_PAGE
 #define hugetlb_free_pgd_range(tlb, addr, end, floor, ceiling) \
        free_pgd_range(tlb, addr, end, floor, ceiling)
+#endif
 
 /*
  * This gets called at the end of handling a page fault, when