]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix hw_irq to test the proper CONFIG variable
authorJames Bottomley <james.bottomley@steeleye.com>
Mon, 30 Dec 2002 06:03:14 +0000 (22:03 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 30 Dec 2002 06:03:14 +0000 (22:03 -0800)
include/asm-i386/hw_irq.h

index 035a6af03c6322529dfde930c1e3022fcfc77abd..70011938c2295a0450723e2e9d7a5d2eaeda42ac 100644 (file)
@@ -131,7 +131,7 @@ static inline int unregister_profile_notifier(struct notifier_block * nb)
 
 #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) {
        if (IO_APIC_IRQ(i))
                send_IPI_self(IO_APIC_VECTOR(i));