Skip to content

Commit b41d34b

Browse files
rhvgoyaltorvalds
authored andcommitted
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>
1 parent 74ca317 commit b41d34b

8 files changed

Lines changed: 0 additions & 16 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,8 +1983,6 @@ config XIP_PHYS_ADDR
19831983
config KEXEC
19841984
bool "Kexec system call (EXPERIMENTAL)"
19851985
depends on (!SMP || PM_SLEEP_SMP)
1986-
select CRYPTO
1987-
select CRYPTO_SHA256
19881986
help
19891987
kexec is a system call that implements the ability to shutdown your
19901988
current kernel, and to start another kernel. It is like a reboot

‎arch/ia64/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,6 @@ source "drivers/sn/Kconfig"
549549
config KEXEC
550550
bool "kexec system call"
551551
depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
552-
select CRYPTO
553-
select CRYPTO_SHA256
554552
help
555553
kexec is a system call that implements the ability to shutdown your
556554
current kernel, and to start another kernel. It is like a reboot

‎arch/m68k/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ config MMU_SUN3
9191
config KEXEC
9292
bool "kexec system call"
9393
depends on M68KCLASSIC
94-
select CRYPTO
95-
select CRYPTO_SHA256
9694
help
9795
kexec is a system call that implements the ability to shutdown your
9896
current kernel, and to start another kernel. It is like a reboot

‎arch/mips/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,8 +2396,6 @@ source "kernel/Kconfig.preempt"
23962396

23972397
config KEXEC
23982398
bool "Kexec system call"
2399-
select CRYPTO
2400-
select CRYPTO_SHA256
24012399
help
24022400
kexec is a system call that implements the ability to shutdown your
24032401
current kernel, and to start another kernel. It is like a reboot

‎arch/powerpc/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,6 @@ config PPC64_SUPPORTS_MEMORY_FAILURE
399399
config KEXEC
400400
bool "kexec system call"
401401
depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))
402-
select CRYPTO
403-
select CRYPTO_SHA256
404402
help
405403
kexec is a system call that implements the ability to shutdown your
406404
current kernel, and to start another kernel. It is like a reboot

‎arch/s390/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC
4848

4949
config KEXEC
5050
def_bool y
51-
select CRYPTO
52-
select CRYPTO_SHA256
5351

5452
config AUDIT_ARCH
5553
def_bool y

‎arch/sh/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,6 @@ source kernel/Kconfig.hz
598598
config KEXEC
599599
bool "kexec system call (EXPERIMENTAL)"
600600
depends on SUPERH32 && MMU
601-
select CRYPTO
602-
select CRYPTO_SHA256
603601
help
604602
kexec is a system call that implements the ability to shutdown your
605603
current kernel, and to start another kernel. It is like a reboot

‎arch/tile/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ source "kernel/Kconfig.hz"
191191

192192
config KEXEC
193193
bool "kexec system call"
194-
select CRYPTO
195-
select CRYPTO_SHA256
196194
---help---
197195
kexec is a system call that implements the ability to shutdown your
198196
current kernel, and to start another kernel. It is like a reboot

0 commit comments

Comments
 (0)