summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/microcode.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-12 21:58:44 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-13 18:42:55 +0200
commit18648dbd3338b75e7b2895d725ee3a7187d6e3a3 (patch)
tree53844d5eac5154113166914bb175f8464178763f /arch/x86/include/asm/microcode.h
parentx86/microcode: Include vendor headers into microcode.h (diff)
downloadlinux-18648dbd3338b75e7b2895d725ee3a7187d6e3a3.tar.xz
linux-18648dbd3338b75e7b2895d725ee3a7187d6e3a3.zip
x86/microcode: Make reload_early_microcode() static
fe055896c040 ("x86/microcode: Merge the early microcode loader") left this needlessly public. Git archaeology provided by Borislav. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230812195727.834943153@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/microcode.h')
-rw-r--r--arch/x86/include/asm/microcode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h
index 9c713b74b1b4..166a633e2796 100644
--- a/arch/x86/include/asm/microcode.h
+++ b/arch/x86/include/asm/microcode.h
@@ -128,13 +128,11 @@ static inline unsigned int x86_cpuid_family(void)
#ifdef CONFIG_MICROCODE
extern void __init load_ucode_bsp(void);
extern void load_ucode_ap(void);
-void reload_early_microcode(unsigned int cpu);
extern bool initrd_gone;
void microcode_bsp_resume(void);
#else
static inline void __init load_ucode_bsp(void) { }
static inline void load_ucode_ap(void) { }
-static inline void reload_early_microcode(unsigned int cpu) { }
static inline void microcode_bsp_resume(void) { }
#endif