summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-06-02 06:48:59 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-06-02 06:48:59 +0200
commit1f8404ea5fd8c408d0a7c12a88091dffb7b6768b (patch)
tree3e02a20e3e50e99bb294a73c77f2911372d4f018 /arch/sh
parentsh: fix miscompilation of ip_fast_csum with gcc >= 4.3 (diff)
downloadlinux-1f8404ea5fd8c408d0a7c12a88091dffb7b6768b.tar.xz
linux-1f8404ea5fd8c408d0a7c12a88091dffb7b6768b.zip
sh: Disable 4KSTACKS on nommu.
4k stacks on nommu ends up blowing up with all sorts of interesting slab corruption. Disable this by default unless BROKEN is also enabled. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 0d2ef1e9a6fd..0f4549860226 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -81,7 +81,7 @@ config DEBUG_STACK_USAGE
config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb"
- depends on DEBUG_KERNEL
+ depends on DEBUG_KERNEL && (MMU || BROKEN)
help
If you say Y here the kernel will use a 4Kb stacksize for the
kernel stack attached to each process/thread. This facilitates