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

Next file: linux/include/asm-i386/keyboard.h
Previous file: linux/include/asm-cris/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/include/asm-i386/hardirq.h linux/include/asm-i386/hardirq.h
@@ -68,7 +68,7 @@
 	++local_irq_count(cpu);
 
 	while (test_bit(0,&global_irq_lock)) {
-		/* nothing */;
+		cpu_relax();
 	}
 }
 

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