Commit d04aa049 authored by Tomas Szepe's avatar Tomas Szepe Committed by Linus Torvalds

[PATCH] fix up UP-APIC compile

parent 214fd232
...@@ -131,8 +131,9 @@ static inline int unregister_profile_notifier(struct notifier_block * nb) ...@@ -131,8 +131,9 @@ static inline int unregister_profile_notifier(struct notifier_block * nb)
#endif /* CONFIG_PROFILING */ #endif /* CONFIG_PROFILING */
#ifdef CONFIG_X86_IO_APIC /*more of this file should probably be ifdefed SMP */ #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_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