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
+2 -1
View File
@@ -33,11 +33,12 @@
#include <asm/cpu_device_id.h>
#include <asm/perf_event.h>
#include <asm/microcode.h>
#include <asm/processor.h>
#include <asm/cmdline.h>
#include <asm/setup.h>
#include "internal.h"
#define DRIVER_VERSION "2.2"
static struct microcode_ops *microcode_ops;