diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-07-04 12:22:44 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:26:07 -0400 |
commit | 7de58fab9ccb63b4194ce39cf163a7491921d037 (patch) | |
tree | 6b7153cc7b731fdb8e1a5b1641d093bcedd78154 /arch | |
parent | cfbae5d331b8872719b5cddb0ed5292c393ad78a (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3ebc5b296dbb..330f6abc7703 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1694,6 +1694,7 @@ config ARCH_SPARSEMEM_ENABLE | |||
1694 | 1694 | ||
1695 | config ARCH_SPARSEMEM_ENABLE | 1695 | config ARCH_SPARSEMEM_ENABLE |
1696 | bool | 1696 | bool |
1697 | select SPARSEMEM_STATIC | ||
1697 | 1698 | ||
1698 | config NUMA | 1699 | config NUMA |
1699 | bool "NUMA Support" | 1700 | bool "NUMA Support" |