Skip to content

Commit

Permalink
[POWERPC] Remove DISCONTIGMEM cruft from page.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Sep 22, 2006
1 parent caf8132 commit 2954da8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/asm-powerpc/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2954da8

Please sign in to comment.