diff options
author | Borislav Petkov <bp@suse.de> | 2017-01-20 21:29:51 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-01-23 10:02:50 +0100 |
commit | f3ad136d6ef966c8ba9090770c2bfe7e85f18471 (patch) | |
tree | 0dc1ad8daeeff482ea918ecce926859a4432b182 /arch/x86/include/asm/microcode_amd.h | |
parent | 7a93a40be23e5557934d773cc89b7b3627c08097 (diff) | |
download | linux-stable-f3ad136d6ef966c8ba9090770c2bfe7e85f18471.tar.gz linux-stable-f3ad136d6ef966c8ba9090770c2bfe7e85f18471.tar.bz2 linux-stable-f3ad136d6ef966c8ba9090770c2bfe7e85f18471.zip |
x86/microcode/AMD: Check patch level only on the BSP
Check final patch levels for AMD only on the BSP. This way, we decide
early and only once whether to continue loading or to leave the loader
disabled on such systems.
Simplify a lot.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170120202955.4091-13-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/microcode_amd.h')
-rw-r--r-- | arch/x86/include/asm/microcode_amd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/microcode_amd.h b/arch/x86/include/asm/microcode_amd.h index 3e3e20be829a..3d57009e168b 100644 --- a/arch/x86/include/asm/microcode_amd.h +++ b/arch/x86/include/asm/microcode_amd.h @@ -54,6 +54,4 @@ static inline int __init save_microcode_in_initrd_amd(unsigned int family) { return -EINVAL; } void reload_ucode_amd(void) {} #endif - -extern bool check_current_patch_level(u32 *rev, bool early); #endif /* _ASM_X86_MICROCODE_AMD_H */ |