Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Michael Ellerman and committed by
Paul Mackerras
2954da89 caf81329

-6
-6
include/asm-powerpc/page.h
··· 55 55 #define PAGE_OFFSET ASM_CONST(CONFIG_KERNEL_START) 56 56 #define KERNELBASE (PAGE_OFFSET + PHYSICAL_START) 57 57 58 - #ifdef CONFIG_DISCONTIGMEM 59 - #define page_to_pfn(page) discontigmem_page_to_pfn(page) 60 - #define pfn_to_page(pfn) discontigmem_pfn_to_page(pfn) 61 - #define pfn_valid(pfn) discontigmem_pfn_valid(pfn) 62 - #endif 63 - 64 58 #ifdef CONFIG_FLATMEM 65 59 #define pfn_valid(pfn) ((pfn) < max_mapnr) 66 60 #endif