summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/hw_irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/hw_irq.h')
-rw-r--r--include/asm-i386/hw_irq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h
index b371bd79f..413a98c55 100644
--- a/include/asm-i386/hw_irq.h
+++ b/include/asm-i386/hw_irq.h
@@ -12,6 +12,7 @@
* <tomsoft@informatik.tu-chemnitz.de>
*/
+#include <linux/config.h>
#include <asm/irq.h>
/*
@@ -211,7 +212,7 @@ static inline void x86_do_profile (unsigned long eip)
atomic_inc((atomic_t *)&prof_buffer[eip]);
}
-#ifdef __SMP__ /*more of this file should probably be ifdefed SMP */
+#ifdef CONFIG_SMP /*more of this file should probably be ifdefed SMP */
static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {
if (IO_APIC_IRQ(i))
send_IPI_self(IO_APIC_VECTOR(i));