Signed-off-by: Peter Oruba --- 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