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
-  Lines: 9
 -  Date:
Wed Feb  7 08:55:40 1996
 -  Orig file: 
v1.3.59/linux/include/asm-i386/smp_lock.h
 -  Orig date: 
Sun Jan 14 16:30:14 1996
 
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