patch-2.3.99-pre7 linux/include/asm-mips64/delay.h
Next file: linux/include/asm-mips64/hardirq.h
Previous file: linux/include/asm-mips64/atomic.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon May  8 22:00:01 2000
-  Orig file: 
v2.3.99-pre6/linux/include/asm-mips64/delay.h
-  Orig date: 
Sat Feb 26 22:31:57 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-mips64/delay.h linux/include/asm-mips64/delay.h
@@ -11,6 +11,8 @@
 #ifndef _ASM_DELAY_H
 #define _ASM_DELAY_H
 
+#include <linux/config.h>
+
 extern __inline__ void
 __delay(unsigned long loops)
 {
@@ -43,7 +45,7 @@
 	__delay(usecs);
 }
 
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 #define __udelay_val cpu_data[smp_processor_id()].udelay_val
 #else
 #define __udelay_val loops_per_sec
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)