x86/microcode: Move core specific defines to local header

There is no reason to expose all of this globally. Move everything which is
not required outside of the microcode specific code to local header files
and into the respective source files.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230812195727.952876381@linutronix.de
This commit is contained in:
Thomas Gleixner
2023-08-12 21:58:47 +02:00
committed by Borislav Petkov (AMD)
parent b0e67db12d
commit d02a0efd0f
7 changed files with 233 additions and 237 deletions

View File

@@ -32,11 +32,12 @@
#include <asm/intel-family.h>
#include <asm/processor.h>
#include <asm/microcode.h>
#include <asm/tlbflush.h>
#include <asm/setup.h>
#include <asm/msr.h>
#include "internal.h"
static const char ucode_path[] = "kernel/x86/microcode/GenuineIntel.bin";
/* Current microcode patch used in early patching on the APs. */