patch-1.3.61 linux/include/asm-i386/smp_lock.h
Next file: linux/include/linux/binfmts.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Fri Feb  9 16:59:04 1996
 -  Orig file: 
v1.3.60/linux/include/asm-i386/smp_lock.h
 -  Orig date: 
Wed Feb  7 15:11:37 1996
 
diff -u --recursive --new-file v1.3.60/linux/include/asm-i386/smp_lock.h linux/include/asm-i386/smp_lock.h
@@ -24,7 +24,9 @@
 			break;
 		do 
 		{
+#ifdef __SMP_PROF__		
 			smp_spins[smp_processor_id()]++;
+#endif			
 			/*
 			 *	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