diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-12 21:58:47 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-13 18:42:55 +0200 |
commit | d02a0efd0f471a775b9e28ce6593fc8b3cc46e8c (patch) | |
tree | 2ff18a458665c3a879ba237dc0a9cc331211a332 /arch/x86/kernel/cpu/microcode/core.c | |
parent | b0e67db12d769cc308a50c1c0ac3721c4f6aead7 (diff) | |
download | lwn-d02a0efd0f471a775b9e28ce6593fc8b3cc46e8c.tar.gz lwn-d02a0efd0f471a775b9e28ce6593fc8b3cc46e8c.zip |
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
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/core.c')
-rw-r--r-- | arch/x86/kernel/cpu/microcode/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c index 75c5bc705d76..6cc7a2c181da 100644 --- a/arch/x86/kernel/cpu/microcode/core.c +++ b/arch/x86/kernel/cpu/microcode/core.c @@ -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; |