x86/microcode: Move core specific defines to local header
authorThomas Gleixner <tglx@linutronix.de>
Sat, 12 Aug 2023 19:58:47 +0000 (21:58 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sun, 13 Aug 2023 16:42:55 +0000 (18:42 +0200)
commitd02a0efd0f471a775b9e28ce6593fc8b3cc46e8c
tree2ff18a458665c3a879ba237dc0a9cc331211a332
parentb0e67db12d769cc308a50c1c0ac3721c4f6aead7
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
arch/x86/include/asm/microcode.h
arch/x86/include/asm/microcode_amd.h [deleted file]
arch/x86/include/asm/microcode_intel.h [deleted file]
arch/x86/kernel/cpu/microcode/amd.c
arch/x86/kernel/cpu/microcode/core.c
arch/x86/kernel/cpu/microcode/intel.c
arch/x86/kernel/cpu/microcode/internal.h [new file with mode: 0644]