patch-1.3.60 linux/include/asm-i386/smp_lock.h

Next file: linux/include/linux/fdreg.h
Previous file: linux/include/asm-i386/smp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/include/asm-i386/smp_lock.h linux/include/asm-i386/smp_lock.h
@@ -24,7 +24,7 @@
 			break;
 		do 
 		{
-			smp_spins++;
+			smp_spins[smp_processor_id()]++;
 			/*
 			 *	Doing test_bit here doesn't lock the bus 
 			 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this