[MIPS] Sparsemem fixes

1. MIPS should select SPARSEMEM_STATIC since allocating bootmem in
   memory_present() will corrupt bootmap area.
2. pfn_valid() for SPARSEMEM is defined in linux/mmzone.h

Signed-off-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
Atsushi Nemoto 2006-07-05 01:22:44 +09:00 • committed by Ralf Baechle
commit 7de58fab9c
2 changed files with 5 additions and 8 deletions

View file

@ -1694,6 +1694,7 @@ config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
bool
select SPARSEMEM_STATIC
config NUMA
bool "NUMA Support"