diff options
author | Jacob Shin <jacob.shin@amd.com> | 2013-05-30 14:09:17 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-05-30 20:19:25 -0700 |
commit | f2b3ee820a9f2368d7f8842ad7da062dfe86e199 (patch) | |
tree | 58d54ec7d50d69afd393b2e358253f798a71f952 /arch/x86/kernel/microcode_intel_early.c | |
parent | 83b325f1b4d00035494bc18a7a131b2197b3c718 (diff) | |
download | blackbird-op-linux-f2b3ee820a9f2368d7f8842ad7da062dfe86e199.tar.gz blackbird-op-linux-f2b3ee820a9f2368d7f8842ad7da062dfe86e199.zip |
x86, microcode: Vendor abstract out save_microcode_in_initrd()
Currently save_microcode_in_initrd() is declared in vendor neutural
microcode.h file, but defined in vendor specific
microcode_intel_early.c file. Vendor abstract it out to
microcode_core_early.c with a wrapper function.
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Link: http://lkml.kernel.org/r/1369940959-2077-3-git-send-email-jacob.shin@amd.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Diffstat (limited to 'arch/x86/kernel/microcode_intel_early.c')
-rw-r--r-- | arch/x86/kernel/microcode_intel_early.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_intel_early.c b/arch/x86/kernel/microcode_intel_early.c index a07f0a026e7b..dabef95506f3 100644 --- a/arch/x86/kernel/microcode_intel_early.c +++ b/arch/x86/kernel/microcode_intel_early.c @@ -699,7 +699,7 @@ static int __cpuinit apply_microcode_early(struct mc_saved_data *mc_saved_data, * This function converts microcode patch offsets previously stored in * mc_saved_in_initrd to pointers and stores the pointers in mc_saved_data. */ -int __init save_microcode_in_initrd(void) +int __init save_microcode_in_initrd_intel(void) { unsigned int count = mc_saved_data.mc_saved_count; struct microcode_intel *mc_saved[MAX_UCODE_COUNT]; |