Skip to contentSkip to conversation

sh: Add depend on MMU for kexec

PATCH Applied Nobuhiro Iwamatsu 2 participants 2 messages Mar 26, 2009 – Mar 30, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Add depend on MMU for kexec

Kexec is not likely to work on NON-MMU CPU because this added depend on MMU for kexec.

---
 arch/sh/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/Kconfig +1 -1
index 8d50d52..19566c8 100644
@@ -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

-- 1.6.2.1