diff options
author | Borislav Petkov <bp@suse.de> | 2022-05-19 16:59:13 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-05-20 11:28:32 +0200 |
commit | 9c55d99e099bd7aa6b91fce8718505c35d5dfc65 (patch) | |
tree | 2bbf79d48901f8dbfc24c6e4d9d0fbc3fed13b2c /arch | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-stable-9c55d99e099bd7aa6b91fce8718505c35d5dfc65.tar.gz linux-stable-9c55d99e099bd7aa6b91fce8718505c35d5dfc65.tar.bz2 linux-stable-9c55d99e099bd7aa6b91fce8718505c35d5dfc65.zip |
x86/microcode: Add explicit CPU vendor dependency
Add an explicit dependency to the respective CPU vendor so that the
respective microcode support for it gets built only when that support is
enabled.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/8ead0da9-9545-b10d-e3db-7df1a1f219e4@infradead.org
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b0142e01002e..7ba627c60504 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1313,7 +1313,7 @@ config MICROCODE config MICROCODE_INTEL bool "Intel microcode loading support" - depends on MICROCODE + depends on CPU_SUP_INTEL && MICROCODE default MICROCODE help This options enables microcode patch loading support for Intel @@ -1325,7 +1325,7 @@ config MICROCODE_INTEL config MICROCODE_AMD bool "AMD microcode loading support" - depends on MICROCODE + depends on CPU_SUP_AMD && MICROCODE help If you select this option, microcode patch loading support for AMD processors will be enabled. |