summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/microcode_amd.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-01-14 14:01:47 +0100
committerIngo Molnar <mingo@kernel.org>2014-01-14 14:01:47 +0100
commit9c079129d7bfb24251890e40694fd79dd1872ed9 (patch)
tree6049920eea5810bbd38f417f1313fa35f5a0679d /arch/x86/include/asm/microcode_amd.h
parent7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 (diff)
parentbad5fa631fca5466401cd4a48e30cc1f1cb6101e (diff)
Merge tag 'amd_ucode_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp into x86/microcode
Pull x86 microcode loader updates from Borislav Petkov: - AMD microcode early loading fixes - Some microcode loader source files reorganization Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/microcode_amd.h')
-rw-r--r--arch/x86/include/asm/microcode_amd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/microcode_amd.h b/arch/x86/include/asm/microcode_amd.h
index 4c019179a57d..b7b10b82d3e5 100644
--- a/arch/x86/include/asm/microcode_amd.h
+++ b/arch/x86/include/asm/microcode_amd.h
@@ -61,11 +61,10 @@ extern int __apply_microcode_amd(struct microcode_amd *mc_amd);
extern int apply_microcode_amd(int cpu);
extern enum ucode_state load_microcode_amd(u8 family, const u8 *data, size_t size);
+#define PATCH_MAX_SIZE PAGE_SIZE
+extern u8 amd_ucode_patch[PATCH_MAX_SIZE];
+
#ifdef CONFIG_MICROCODE_AMD_EARLY
-#ifdef CONFIG_X86_32
-#define MPB_MAX_SIZE PAGE_SIZE
-extern u8 amd_bsp_mpb[MPB_MAX_SIZE];
-#endif
extern void __init load_ucode_amd_bsp(void);
extern void load_ucode_amd_ap(void);
extern int __init save_microcode_in_initrd_amd(void);