summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/hardirq.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-mips/hardirq.h
parentc4ca763cc6ffd1ffef022766dde60487e42f17ae (diff)
Change all instances of __SMP__ to CONFIG_SMP and include
<linux/config.h> where necessary.
Diffstat (limited to 'include/asm-mips/hardirq.h')
-rw-r--r--include/asm-mips/hardirq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-mips/hardirq.h b/include/asm-mips/hardirq.h
index f3854a267..f881937a6 100644
--- a/include/asm-mips/hardirq.h
+++ b/include/asm-mips/hardirq.h
@@ -10,6 +10,8 @@
#ifndef _ASM_HARDIRQ_H
#define _ASM_HARDIRQ_H
+#include <linux/config.h>
+
#include <linux/threads.h>
#include <linux/irq.h>
@@ -35,7 +37,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)
@@ -49,5 +51,5 @@ extern irq_cpustat_t irq_stat [NR_CPUS];
#error No habla MIPS SMP
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
#endif /* _ASM_HARDIRQ_H */