summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/hardirq.h')
-rw-r--r--include/asm-i386/hardirq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-i386/hardirq.h b/include/asm-i386/hardirq.h
index fb0c3e5d4..e6fa12909 100644
--- a/include/asm-i386/hardirq.h
+++ b/include/asm-i386/hardirq.h
@@ -1,6 +1,7 @@
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H
+#include <linux/config.h>
#include <linux/threads.h>
#include <linux/irq.h>
@@ -29,7 +30,7 @@ extern irq_cpustat_t irq_stat [NR_CPUS];
#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)
@@ -89,6 +90,6 @@ static inline int hardirq_trylock(int cpu)
extern void synchronize_irq(void);
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
#endif /* __ASM_HARDIRQ_H */