This is a note to let you know that I've just added the patch titled
x86, microcode, intel: Drop unused parameter
to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
x86-microcode-intel-drop-unused-parameter.patch
and it can be found in the queue-3.18 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 47768626c6db42cd06ff077ba12dd2cb10ab818b Mon Sep 17 00:00:00 2001
From: Borislav Petkov <[email protected]>
Date: Mon, 1 Dec 2014 17:50:16 +0100
Subject: x86, microcode, intel: Drop unused parameter
From: Borislav Petkov <[email protected]>
commit 47768626c6db42cd06ff077ba12dd2cb10ab818b upstream.
apply_microcode_early() doesn't use mc_saved_data, kill it.
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/x86/kernel/cpu/microcode/intel_early.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--- a/arch/x86/kernel/cpu/microcode/intel_early.c
+++ b/arch/x86/kernel/cpu/microcode/intel_early.c
@@ -650,8 +650,7 @@ static inline void print_ucode(struct uc
}
#endif
-static int apply_microcode_early(struct mc_saved_data *mc_saved_data,
- struct ucode_cpu_info *uci)
+static int apply_microcode_early(struct ucode_cpu_info *uci)
{
struct microcode_intel *mc_intel;
unsigned int val[2];
@@ -720,7 +719,7 @@ _load_ucode_intel_bsp(struct mc_saved_da
mc_saved_in_initrd, uci);
load_microcode(mc_saved_data, mc_saved_in_initrd,
initrd_start_early, uci);
- apply_microcode_early(mc_saved_data, uci);
+ apply_microcode_early(uci);
}
void __init
@@ -783,5 +782,5 @@ void load_ucode_intel_ap(void)
collect_cpu_info_early(&uci);
load_microcode(mc_saved_data_p, mc_saved_in_initrd_p,
initrd_start_addr, &uci);
- apply_microcode_early(mc_saved_data_p, &uci);
+ apply_microcode_early(&uci);
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.18/x86-microcode-intel-drop-unused-parameter.patch
queue-3.18/x86-microcode-intel-fish-out-the-stashed-microcode-for-the-bsp.patch
queue-3.18/x86-microcode-reload-microcode-on-resume.patch
queue-3.18/x86-microcode-amd-do-not-use-smp_processor_id-in-preemtible-context.patch
queue-3.18/x86-microcode-don-t-initialize-microcode-code-on-paravirt.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html