Commit 43fb68dc authored by James Bottomley's avatar James Bottomley Committed by Christoph Hellwig

[PATCH] Fix hw_irq to test the proper CONFIG variable

parent 288bde07
...@@ -131,7 +131,7 @@ static inline int unregister_profile_notifier(struct notifier_block * nb) ...@@ -131,7 +131,7 @@ static inline int unregister_profile_notifier(struct notifier_block * nb)
#endif /* CONFIG_PROFILING */ #endif /* CONFIG_PROFILING */
#if defined(CONFIG_SMP) && !defined(CONFIG_VOYAGER) /*more of this file should probably be ifdefed SMP */ #ifdef CONFIG_X86_IO_APIC /*more of this file should probably be ifdefed SMP */
static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) { static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {
if (IO_APIC_IRQ(i)) if (IO_APIC_IRQ(i))
send_IPI_self(IO_APIC_VECTOR(i)); send_IPI_self(IO_APIC_VECTOR(i));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment