patch-2.3.99-pre7 linux/include/asm-mips/delay.h
Next file: linux/include/asm-mips/hardirq.h
Previous file: linux/include/asm-mips/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-mips/delay.h
- Orig date:
Sat Feb 26 22:31:56 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-mips/delay.h linux/include/asm-mips/delay.h
@@ -10,6 +10,8 @@
#ifndef _ASM_DELAY_H
#define _ASM_DELAY_H
+#include <linux/config.h>
+
extern __inline__ void
__delay(unsigned long loops)
{
@@ -42,7 +44,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)