aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-12-01 01:55:42 -0500
committerRalf Baechle <ralf@linux-mips.org>2009-12-01 11:21:26 -0500
commitf133f22dd6f413bdf71ebf7e00ce441d98ac7c87 (patch)
treeae2599f3d1b8a29865bad54a628f59776307e0a7 /arch
parent315fe625f878749a7d2b6b65a40c29bbbe6e1dc7 (diff)
MIPS: Loongson: Switch from flatmem to sparsemem
With flatmem hibernation for Loongson will fail, and there are also some other problems such as broken files when using NFS or CIFS / Samba. The config help of sparsemem says: "This option provides some potential performance benefits, along with decreased code complexity." So to avoid the potential problems of FLATMEM, we disable FLATMEM directly and use SPARSEMEM instead. Related email thread: http://groups.google.com/group/loongson-dev/browse_thread/thread/b6b65890ec2b0f24/feb43e5aa7f55d9b?show_docid=feb43e5aa7f55d9b Reported-by: Tatu Kilappa <tatu.kilappa@gmail.com> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Patchwork: http://patchwork.linux-mips.org/patch/737/ Cc: linux-mips@linux-mips.org Cc: zhangfx@lemote.com Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index e232e50e6a0a..fd7620f025fa 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1778,7 +1778,7 @@ config SYS_SUPPORTS_SMARTMIPS
1778 1778
1779config ARCH_FLATMEM_ENABLE 1779config ARCH_FLATMEM_ENABLE
1780 def_bool y 1780 def_bool y
1781 depends on !NUMA 1781 depends on !NUMA && !CPU_LOONGSON2
1782 1782
1783config ARCH_DISCONTIGMEM_ENABLE 1783config ARCH_DISCONTIGMEM_ENABLE
1784 bool 1784 bool