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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Oruba
Date: Wednesday, August 6, 2008 - 8:21 am

Signed-off-by: Peter Oruba <peter.oruba@amd.com>
---
 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);
 
 	/* We should bind the task to the CPU */
 	BUG_ON(cpu_num != cpu);
-- 
1.5.4.5




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 4/5] [PATCH 4/5] x86: Minor correction to Intel mic ..., Peter Oruba, (Wed Aug 6, 8:21 am)