summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/pgtable.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-29 21:44:33 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-29 21:44:33 -0700
commit8bc2bee26bc7ba77eb1ffc3e3282002d9893cf09 (patch)
treee7c85eca8d55007b0a467b99820820cd40ef4963 /include/asm-ppc64/pgtable.h
parent826509f8110049663799bc20f2b5b6170e2f78ca (diff)
parent8913ca1c9ccb5eb6471afd419159729eef6e2730 (diff)
Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6
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[];
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