diff options
Diffstat (limited to 'include/asm-mips/delay.h')
-rw-r--r-- | include/asm-mips/delay.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-mips/delay.h b/include/asm-mips/delay.h index 3c4769a29..98fe1ec3d 100644 --- a/include/asm-mips/delay.h +++ b/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 @@ 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 |