Commit b41d34b46aa91e0c83300c38eebc0b8762705e82

Authored by Vivek Goyal
Committed by Linus Torvalds
1 parent 74ca317c26

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>

Showing 8 changed files with 0 additions and 16 deletions Side-by-side Diff

... ... @@ -1983,8 +1983,6 @@
1983 1983 config KEXEC
1984 1984 bool "Kexec system call (EXPERIMENTAL)"
1985 1985 depends on (!SMP || PM_SLEEP_SMP)
1986   - select CRYPTO
1987   - select CRYPTO_SHA256
1988 1986 help
1989 1987 kexec is a system call that implements the ability to shutdown your
1990 1988 current kernel, and to start another kernel. It is like a reboot
... ... @@ -549,8 +549,6 @@
549 549 config KEXEC
550 550 bool "kexec system call"
551 551 depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
552   - select CRYPTO
553   - select CRYPTO_SHA256
554 552 help
555 553 kexec is a system call that implements the ability to shutdown your
556 554 current kernel, and to start another kernel. It is like a reboot
... ... @@ -91,8 +91,6 @@
91 91 config KEXEC
92 92 bool "kexec system call"
93 93 depends on M68KCLASSIC
94   - select CRYPTO
95   - select CRYPTO_SHA256
96 94 help
97 95 kexec is a system call that implements the ability to shutdown your
98 96 current kernel, and to start another kernel. It is like a reboot
... ... @@ -2396,8 +2396,6 @@
2396 2396  
2397 2397 config KEXEC
2398 2398 bool "Kexec system call"
2399   - select CRYPTO
2400   - select CRYPTO_SHA256
2401 2399 help
2402 2400 kexec is a system call that implements the ability to shutdown your
2403 2401 current kernel, and to start another kernel. It is like a reboot
arch/powerpc/Kconfig
... ... @@ -399,8 +399,6 @@
399 399 config KEXEC
400 400 bool "kexec system call"
401 401 depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))
402   - select CRYPTO
403   - select CRYPTO_SHA256
404 402 help
405 403 kexec is a system call that implements the ability to shutdown your
406 404 current kernel, and to start another kernel. It is like a reboot
... ... @@ -48,8 +48,6 @@
48 48  
49 49 config KEXEC
50 50 def_bool y
51   - select CRYPTO
52   - select CRYPTO_SHA256
53 51  
54 52 config AUDIT_ARCH
55 53 def_bool y
... ... @@ -598,8 +598,6 @@
598 598 config KEXEC
599 599 bool "kexec system call (EXPERIMENTAL)"
600 600 depends on SUPERH32 && MMU
601   - select CRYPTO
602   - select CRYPTO_SHA256
603 601 help
604 602 kexec is a system call that implements the ability to shutdown your
605 603 current kernel, and to start another kernel. It is like a reboot
... ... @@ -191,8 +191,6 @@
191 191  
192 192 config KEXEC
193 193 bool "kexec system call"
194   - select CRYPTO
195   - select CRYPTO_SHA256
196 194 ---help---
197 195 kexec is a system call that implements the ability to shutdown your
198 196 current kernel, and to start another kernel. It is like a reboot