summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/core.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-12 21:58:47 +0200
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-13 18:42:55 +0200
commitd02a0efd0f471a775b9e28ce6593fc8b3cc46e8c (patch)
tree2ff18a458665c3a879ba237dc0a9cc331211a332 /arch/x86/kernel/cpu/microcode/core.c
parentb0e67db12d769cc308a50c1c0ac3721c4f6aead7 (diff)
downloadlwn-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.c3
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;