diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-11 13:48:08 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-20 12:47:45 +0100 |
commit | cd14b01846612f3f3277e97bfbecba4c8cee5ce9 (patch) | |
tree | dda57ead5ef2dd79b2fc0f8a6663fe4b8b722780 /arch/x86/kvm/Kconfig | |
parent | kconfig: use generic macros to implement symbol hashtable (diff) | |
download | linux-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.tar.xz linux-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.zip |
treewide: replace or remove redundant def_bool in Kconfig files
'def_bool X' is a shorthand for 'bool' plus 'default X'.
'def_bool' is redundant where 'bool' is already present, so 'def_bool X'
can be replaced with 'default X', or removed if X is 'n'.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r-- | arch/x86/kvm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 87e3da7b0439..d72be552c86d 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -119,8 +119,8 @@ config KVM_AMD will be called kvm-amd. config KVM_AMD_SEV - def_bool y bool "AMD Secure Encrypted Virtualization (SEV) support" + default y depends on KVM_AMD && X86_64 depends on CRYPTO_DEV_SP_PSP && !(KVM_AMD=y && CRYPTO_DEV_CCP_DD=m) help |