patch-2.4.23 linux-2.4.23/include/asm-i386/hardirq.h

Next file: linux-2.4.23/include/asm-i386/hc_sl811-hw.h
Previous file: linux-2.4.23/include/asm-i386/elf.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-i386/hardirq.h linux-2.4.23/include/asm-i386/hardirq.h
@@ -67,6 +67,8 @@
 {
 	++local_irq_count(cpu);
 
+	smp_mb();
+
 	while (test_bit(0,&global_irq_lock)) {
 		cpu_relax();
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)