sh: Add depend on MMU for kexec
diff mbox

Message ID 49CB3DA5.1030009@renesas.com
State Accepted
Headers show

Commit Message

Nobuhiro Iwamatsu March 26, 2009, 8:32 a.m. UTC
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>
---
 arch/sh/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 1.6.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Paul Mundt March 30, 2009, 10:44 p.m. UTC | #1
On Thu, Mar 26, 2009 at 05:32:37PM +0900, Nobuhiro Iwamatsu wrote:
> 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>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 8d50d52..19566c8 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -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