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

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