aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/pgtable.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-08-09 23:53:41 -0400
committerPaul Mackerras <paulus@samba.org>2005-08-29 22:08:10 -0400
commitb74d0bd53406c23636707565d87ddaa55d315b26 (patch)
tree6f4245e1363b7cf5e74d84cd025ad804eeb04bfe /include/asm-ppc64/pgtable.h
parent40193713df2cdb9c233b3fc2029ecdccb40cb1e4 (diff)
[PATCH] ppc64: four level pagetables fix
With CONFIG_HUGETLB_PAGE=n: In file included from kernel/sysctl.c:37: include/linux/hugetlb.h:104:1: warning: "hugetlb_free_pgd_range" redefined In file included from include/linux/mm.h:36, from kernel/sysctl.c:23: include/asm/pgtable.h:492:1: warning: this is the location of the previous definition Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/pgtable.h')
-rw-r--r--include/asm-ppc64/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc64/pgtable.h b/include/asm-ppc64/pgtable.h
index 5ea952ad7164..c83679c9d2b0 100644
--- a/include/asm-ppc64/pgtable.h
+++ b/include/asm-ppc64/pgtable.h
@@ -489,8 +489,10 @@ extern pgd_t swapper_pg_dir[];
489 489
490extern void paging_init(void); 490extern void paging_init(void);
491 491
492#ifdef CONFIG_HUGETLB_PAGE
492#define hugetlb_free_pgd_range(tlb, addr, end, floor, ceiling) \ 493#define hugetlb_free_pgd_range(tlb, addr, end, floor, ceiling) \
493 free_pgd_range(tlb, addr, end, floor, ceiling) 494 free_pgd_range(tlb, addr, end, floor, ceiling)
495#endif
494 496
495/* 497/*
496 * This gets called at the end of handling a page fault, when 498 * This gets called at the end of handling a page fault, when