Browse Source

kexec: remove CONFIG_KEXEC dependency on crypto

New system call depends on crypto.  As it did not have a separate config
option, CONFIG_KEXEC was modified to select CRYPTO and CRYPTO_SHA256.

But now previous patch introduced a new config option for new syscall.
So CONFIG_KEXEC does not require crypto.  Remove that dependency.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Vivek Goyal 11 years ago
parent
commit
b41d34b46a
8 changed files with 0 additions and 16 deletions
  1. 0 2
      arch/arm/Kconfig
  2. 0 2
      arch/ia64/Kconfig
  3. 0 2
      arch/m68k/Kconfig
  4. 0 2
      arch/mips/Kconfig
  5. 0 2
      arch/powerpc/Kconfig
  6. 0 2
      arch/s390/Kconfig
  7. 0 2
      arch/sh/Kconfig
  8. 0 2
      arch/tile/Kconfig

+ 0 - 2
arch/arm/Kconfig

@@ -1983,8 +1983,6 @@ config XIP_PHYS_ADDR
 config KEXEC
 config KEXEC
 	bool "Kexec system call (EXPERIMENTAL)"
 	bool "Kexec system call (EXPERIMENTAL)"
 	depends on (!SMP || PM_SLEEP_SMP)
 	depends on (!SMP || PM_SLEEP_SMP)
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/ia64/Kconfig

@@ -549,8 +549,6 @@ source "drivers/sn/Kconfig"
 config KEXEC
 config KEXEC
 	bool "kexec system call"
 	bool "kexec system call"
 	depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
 	depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/m68k/Kconfig

@@ -91,8 +91,6 @@ config MMU_SUN3
 config KEXEC
 config KEXEC
 	bool "kexec system call"
 	bool "kexec system call"
 	depends on M68KCLASSIC
 	depends on M68KCLASSIC
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/mips/Kconfig

@@ -2396,8 +2396,6 @@ source "kernel/Kconfig.preempt"
 
 
 config KEXEC
 config KEXEC
 	bool "Kexec system call"
 	bool "Kexec system call"
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/powerpc/Kconfig

@@ -399,8 +399,6 @@ config PPC64_SUPPORTS_MEMORY_FAILURE
 config KEXEC
 config KEXEC
 	bool "kexec system call"
 	bool "kexec system call"
 	depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))
 	depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/s390/Kconfig

@@ -48,8 +48,6 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 
 
 config KEXEC
 config KEXEC
 	def_bool y
 	def_bool y
-	select CRYPTO
-	select CRYPTO_SHA256
 
 
 config AUDIT_ARCH
 config AUDIT_ARCH
 	def_bool y
 	def_bool y

+ 0 - 2
arch/sh/Kconfig

@@ -598,8 +598,6 @@ source kernel/Kconfig.hz
 config KEXEC
 config KEXEC
 	bool "kexec system call (EXPERIMENTAL)"
 	bool "kexec system call (EXPERIMENTAL)"
 	depends on SUPERH32 && MMU
 	depends on SUPERH32 && MMU
-	select CRYPTO
-	select CRYPTO_SHA256
 	help
 	help
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot

+ 0 - 2
arch/tile/Kconfig

@@ -191,8 +191,6 @@ source "kernel/Kconfig.hz"
 
 
 config KEXEC
 config KEXEC
 	bool "kexec system call"
 	bool "kexec system call"
-	select CRYPTO
-	select CRYPTO_SHA256
 	---help---
 	---help---
 	  kexec is a system call that implements the ability to shutdown your
 	  kexec is a system call that implements the ability to shutdown your
 	  current kernel, and to start another kernel.  It is like a reboot
 	  current kernel, and to start another kernel.  It is like a reboot