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

Next file: linux-2.4.23/include/asm-x86_64/ia32.h
Previous file: linux-2.4.23/include/asm-x86_64/elf.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-x86_64/hardirq.h linux-2.4.23/include/asm-x86_64/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)