]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Remove DISCONTIGMEM cruft from page.h
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 21 Sep 2006 08:21:35 +0000 (18:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 22 Sep 2006 05:19:58 +0000 (15:19 +1000)
This looks like cruft to me, these functions don't exist AFAICT,
and I can't see that it's possible to even enable DISCONTIGMEM on
powerpc anymore. CC'ing some folks who might know better, based on
the who-touched-it-last principle.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/page.h

index fb597b37c2a2f0deaeadf8cf303105f632fb9aa6..b4d38b0b15f8389b897b0b63f4ef1cb57672aef2 100644 (file)
 #define PAGE_OFFSET     ASM_CONST(CONFIG_KERNEL_START)
 #define KERNELBASE      (PAGE_OFFSET + PHYSICAL_START)
 
-#ifdef CONFIG_DISCONTIGMEM
-#define page_to_pfn(page)      discontigmem_page_to_pfn(page)
-#define pfn_to_page(pfn)       discontigmem_pfn_to_page(pfn)
-#define pfn_valid(pfn)         discontigmem_pfn_valid(pfn)
-#endif
-
 #ifdef CONFIG_FLATMEM
 #define pfn_valid(pfn)         ((pfn) < max_mapnr)
 #endif