summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/page.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-09-21 10:21:35 +0200
committerPaul Mackerras <paulus@samba.org>2006-09-22 07:19:58 +0200
commit2954da897c40de0f3abdd6a100f2978f30d04068 (patch)
tree2e695a29fea688539ef4b933918d5d252fa60760 /include/asm-powerpc/page.h
parent[POWERPC] Merge iSeries i/o operations with the rest (diff)
downloadlinux-2954da897c40de0f3abdd6a100f2978f30d04068.tar.xz
linux-2954da897c40de0f3abdd6a100f2978f30d04068.zip
[POWERPC] Remove DISCONTIGMEM cruft from page.h
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>
Diffstat (limited to 'include/asm-powerpc/page.h')
-rw-r--r--include/asm-powerpc/page.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-powerpc/page.h b/include/asm-powerpc/page.h
index fb597b37c2a2..b4d38b0b15f8 100644
--- a/include/asm-powerpc/page.h
+++ b/include/asm-powerpc/page.h
@@ -55,12 +55,6 @@
#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