sh: Add MMU dependency for kexec
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Thu, 26 Mar 2009 08:32:37 +0000 (08:32 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 30 Mar 2009 22:38:37 +0000 (07:38 +0900)
Kexec is not likely to work on NON-MMU CPU because this added
depend on MMU for kexec.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 8d50d52..19566c8 100644 (file)
@@ -530,7 +530,7 @@ source kernel/Kconfig.hz
 
 config KEXEC
        bool "kexec system call (EXPERIMENTAL)"
-       depends on SUPERH32 && EXPERIMENTAL
+       depends on SUPERH32 && EXPERIMENTAL && MMU
        help
          kexec is a system call that implements the ability to shutdown your
          current kernel, and to start another kernel.  It is like a reboot