From b9e55bb180a44f990e201c771c103469f6fb08ca Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 23 Apr 2000 06:12:14 +0000 Subject: Change all instances of __SMP__ to CONFIG_SMP and include where necessary. --- include/asm-mips64/hardirq.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/asm-mips64/hardirq.h') diff --git a/include/asm-mips64/hardirq.h b/include/asm-mips64/hardirq.h index 1c2d1e868..192b61f7b 100644 --- a/include/asm-mips64/hardirq.h +++ b/include/asm-mips64/hardirq.h @@ -10,6 +10,7 @@ #ifndef _ASM_HARDIRQ_H #define _ASM_HARDIRQ_H +#include #include #include @@ -35,7 +36,7 @@ extern irq_cpustat_t irq_stat [NR_CPUS]; (local_irq_count(__cpu) + local_bh_count(__cpu) != 0); }) #define in_irq() (local_irq_count(smp_processor_id()) != 0) -#ifndef __SMP__ +#ifndef CONFIG_SMP #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0) #define hardirq_endlock(cpu) do { } while (0) @@ -95,6 +96,6 @@ static inline void irq_exit(int cpu, int irq) extern void synchronize_irq(void); -#endif /* __SMP__ */ +#endif /* CONFIG_SMP */ #endif /* _ASM_HARDIRQ_H */ -- cgit v1.2.3