irqlock patch 2.5.27-H4
Hello.
arch/i386/kernel/microcode.c:do_microcode_update() calls smp_call_function(do_update_one). do_update_one() does spin_lock/unlock. So smp_call_function_interrupt() needs irq_enter().
entry.S has unneeded GET_THREAD_INFO(%ebx) indevice_not_available() trap.
Patch against 2.5.28.
i386/kernel/smp.c renamed from i386/kernel/smp.c~ +3 -0
@@ -646,7 +646,10 @@/* * At this point the info structure may be out of scope unless wait==1 */ +irq_enter (); (*func)(info); +irq_exit (); +if (wait) {mb ();atomic_inc (&call_data->finished);
i386/kernel/entry.S renamed from i386/kernel/entry.S~ +0 -1
@@ -417,7 +417,6 @@ ENTRY(device_not_available) pushl $-1 # mark this as an int SAVE_ALL - GET_THREAD_INFO(%ebx) movl %cr0, %eax testl $0x4, %eax # EM (math emulation bit) jne device_not_available_emulate
Oleg.