[MIPS] Sparsemem fixes
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 4 Jul 2006 16:22:44 +0000 (01:22 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:07 +0000 (21:26 +0100)
commit7de58fab9ccb63b4194ce39cf163a7491921d037
tree6b7153cc7b731fdb8e1a5b1641d093bcedd78154
parentcfbae5d331b8872719b5cddb0ed5292c393ad78a
[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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
include/asm-mips/page.h