Commit b41d34b4 authored by Vivek Goyal's avatar Vivek Goyal Committed by Linus Torvalds
Browse files

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: default avatarVivek 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 74ca317c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1983,8 +1983,6 @@ config XIP_PHYS_ADDR
config KEXEC
	bool "Kexec system call (EXPERIMENTAL)"
	depends on (!SMP || PM_SLEEP_SMP)
	select CRYPTO
	select CRYPTO_SHA256
	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
+0 −2
Original line number Diff line number Diff line
@@ -549,8 +549,6 @@ source "drivers/sn/Kconfig"
config KEXEC
	bool "kexec system call"
	depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
	select CRYPTO
	select CRYPTO_SHA256
	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
+0 −2
Original line number Diff line number Diff line
@@ -91,8 +91,6 @@ config MMU_SUN3
config KEXEC
	bool "kexec system call"
	depends on M68KCLASSIC
	select CRYPTO
	select CRYPTO_SHA256
	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
+0 −2
Original line number Diff line number Diff line
@@ -2396,8 +2396,6 @@ source "kernel/Kconfig.preempt"

config KEXEC
	bool "Kexec system call"
	select CRYPTO
	select CRYPTO_SHA256
	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
+0 −2
Original line number Diff line number Diff line
@@ -399,8 +399,6 @@ config PPC64_SUPPORTS_MEMORY_FAILURE
config KEXEC
	bool "kexec system call"
	depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))
	select CRYPTO
	select CRYPTO_SHA256
	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
Loading