Re: [patch 4/5] [PATCH 4/5] x86: Minor correction to Intel microcodepatch loader.

From: Peter Oruba
Date: Tue Aug 12 2008 - 10:15:13 EST


Ingo Molnar schrieb:
* Peter Oruba <peter.oruba@xxxxxxx> wrote:

Signed-off-by: Peter Oruba <peter.oruba@xxxxxxx>
---
arch/x86/kernel/microcode_intel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/microcode_intel.c b/arch/x86/kernel/microcode_intel.c
index 4ab6ce3..8d69470 100644
--- a/arch/x86/kernel/microcode_intel.c
+++ b/arch/x86/kernel/microcode_intel.c
@@ -315,7 +315,7 @@ static void apply_microcode(int cpu)
unsigned long flags;
unsigned int val[2];
int cpu_num = raw_smp_processor_id();
- struct ucode_cpu_info *uci = get_ucode_cpu_info(cpu);
+ struct ucode_cpu_info *uci = get_ucode_cpu_info(cpu_num);

hm, this does not apply to tip/x86/microcode nor tip/master nor linus/master. Does it fix a bug in one of the earlier patches in this 5/5 queue?

Ingo

Yes, it's a fix for PATCH 3/5

-Peter

--
| AMD Saxony Limited Liability Company & Co. KG
Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
System | Register Court Dresden: HRA 4896
Research | General Partner authorized to represent:
Center | AMD Saxony LLC (Wilmington, Delaware, US)
| General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/