diff options
Diffstat (limited to 'include/asm-ppc64/page.h')
-rw-r--r-- | include/asm-ppc64/page.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-ppc64/page.h b/include/asm-ppc64/page.h index e32f1187aa29..3efc3288f7e9 100644 --- a/include/asm-ppc64/page.h +++ b/include/asm-ppc64/page.h | |||
@@ -279,11 +279,6 @@ extern u64 ppc64_pft_size; /* Log 2 of page table size */ | |||
279 | 279 | ||
280 | #define __va(x) ((void *)((unsigned long)(x) + KERNELBASE)) | 280 | #define __va(x) ((void *)((unsigned long)(x) + KERNELBASE)) |
281 | 281 | ||
282 | #ifdef CONFIG_DISCONTIGMEM | ||
283 | #define page_to_pfn(page) discontigmem_page_to_pfn(page) | ||
284 | #define pfn_to_page(pfn) discontigmem_pfn_to_page(pfn) | ||
285 | #define pfn_valid(pfn) discontigmem_pfn_valid(pfn) | ||
286 | #endif | ||
287 | #ifdef CONFIG_FLATMEM | 282 | #ifdef CONFIG_FLATMEM |
288 | #define pfn_to_page(pfn) (mem_map + (pfn)) | 283 | #define pfn_to_page(pfn) (mem_map + (pfn)) |
289 | #define page_to_pfn(page) ((unsigned long)((page) - mem_map)) | 284 | #define page_to_pfn(page) ((unsigned long)((page) - mem_map)) |