patch-1.3.38 linux/include/asm-i386/delay.h
Next file: linux/include/asm-i386/irq.h
Previous file: linux/include/asm-i386/bugs.h
Back to the patch index
Back to the overall index
-  Lines: 18
 -  Date:
Mon Oct 30 10:02:27 1995
 -  Orig file: 
v1.3.37/linux/include/asm-i386/delay.h
 -  Orig date: 
Wed Oct  4 14:14:33 1995
 
diff -u --recursive --new-file v1.3.37/linux/include/asm-i386/delay.h linux/include/asm-i386/delay.h
@@ -7,7 +7,7 @@
  * Delay routines, using a pre-computed "loops_per_second" value.
  */
  
-#ifdef CONFIG_SMP
+#ifdef __SMP__
 #include <asm/smp.h>
 #endif 
 
@@ -31,7 +31,7 @@
 	usecs *= 0x000010c6;		/* 2**32 / 1000000 */
 	__asm__("mull %0"
 		:"=d" (usecs)
-#ifdef CONFIG_SMP
+#ifdef __SMP__
 		:"a" (usecs),"0" (cpu_data[smp_processor_id()].udelay_val)
 #else
 		:"a" (usecs),"0" (loops_per_sec)
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