diff options
author | Borislav Petkov <bp@suse.de> | 2020-12-30 11:20:25 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-12-31 11:44:00 +0100 |
commit | c769dcd423785703f17ca0a99925a7f9d84b3cbc (patch) | |
tree | 0249656bb4a96abe57a4f3285cab30d3d7907636 /arch/x86/include/asm/microcode.h | |
parent | Linux 5.11-rc1 (diff) | |
download | linux-c769dcd423785703f17ca0a99925a7f9d84b3cbc.tar.xz linux-c769dcd423785703f17ca0a99925a7f9d84b3cbc.zip |
x86/microcode: Make microcode_init() static
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201230122147.26938-1-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm/microcode.h')
-rw-r--r-- | arch/x86/include/asm/microcode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h index 2b7cc5397f80..ab45a220fac4 100644 --- a/arch/x86/include/asm/microcode.h +++ b/arch/x86/include/asm/microcode.h @@ -127,14 +127,12 @@ static inline unsigned int x86_cpuid_family(void) } #ifdef CONFIG_MICROCODE -int __init microcode_init(void); extern void __init load_ucode_bsp(void); extern void load_ucode_ap(void); void reload_early_microcode(void); extern bool get_builtin_firmware(struct cpio_data *cd, const char *name); extern bool initrd_gone; #else -static inline int __init microcode_init(void) { return 0; }; static inline void __init load_ucode_bsp(void) { } static inline void load_ucode_ap(void) { } static inline void reload_early_microcode(void) { } |