summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/delay.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-23 06:12:14 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-23 06:12:14 +0000
commitb9e55bb180a44f990e201c771c103469f6fb08ca (patch)
treedcbec41543db290e07d5b2723c611d5ebf9c0fac /include/asm-mips64/delay.h
parentc4ca763cc6ffd1ffef022766dde60487e42f17ae (diff)
Change all instances of __SMP__ to CONFIG_SMP and include
<linux/config.h> where necessary.
Diffstat (limited to 'include/asm-mips64/delay.h')
-rw-r--r--include/asm-mips64/delay.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips64/delay.h b/include/asm-mips64/delay.h
index f3ec30a9e..2913275ab 100644
--- a/include/asm-mips64/delay.h
+++ b/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 @@ extern __inline__ void __udelay(unsigned long usecs, unsigned long lps)
__delay(usecs);
}
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define __udelay_val cpu_data[smp_processor_id()].udelay_val
#else
#define __udelay_val loops_per_sec