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

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
...@@ -1983,8 +1983,6 @@ config XIP_PHYS_ADDR ...@@ -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
......
...@@ -549,8 +549,6 @@ source "drivers/sn/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
......
...@@ -91,8 +91,6 @@ config MMU_SUN3 ...@@ -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
......
...@@ -2396,8 +2396,6 @@ source "kernel/Kconfig.preempt" ...@@ -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
......
...@@ -399,8 +399,6 @@ config PPC64_SUPPORTS_MEMORY_FAILURE ...@@ -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
......
...@@ -48,8 +48,6 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC ...@@ -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
......
...@@ -598,8 +598,6 @@ source kernel/Kconfig.hz ...@@ -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
......
...@@ -191,8 +191,6 @@ source "kernel/Kconfig.hz" ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment