aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2023-10-17 23:23:56 +0200
committerBorislav Petkov (AMD) <[email protected]>2023-10-24 15:05:54 +0200
commit8529e8ab6c6fab8ebf06ead98e77d7646b42fc48 (patch)
tree83faa67f238950226319c30d8b9e0bcaae0bfd96 /arch/x86/kernel/cpu/microcode/internal.h
parent5af05b8d51a8e3ff5905663655c0f46d1aaae44a (diff)
x86/microcode: Mop up early loading leftovers
Get rid of the initrd_gone hack which was required to keep find_microcode_in_initrd() functional after init. As find_microcode_in_initrd() is now only used during init, mark it accordingly. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/internal.h')
-rw-r--r--arch/x86/kernel/cpu/microcode/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/microcode/internal.h b/arch/x86/kernel/cpu/microcode/internal.h
index 89fbf749dcc6..4bef216f8d6c 100644
--- a/arch/x86/kernel/cpu/microcode/internal.h
+++ b/arch/x86/kernel/cpu/microcode/internal.h
@@ -86,7 +86,6 @@ static inline unsigned int x86_cpuid_family(void)
}
extern bool dis_ucode_ldr;
-extern bool initrd_gone;
#ifdef CONFIG_CPU_SUP_AMD
void load_ucode_amd_bsp(unsigned int family);