OSDN Git Service

[MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 29 Jul 2007 23:52:14 +0000 (00:52 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:32 +0000 (21:35 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmc-sierra/yosemite/irq.c

index 13799d1..4decc28 100644 (file)
@@ -58,6 +58,7 @@
 
 extern void titan_mailbox_irq(void);
 
+#ifdef CONFIG_HYPERTRANSPORT
 /*
  * Handle hypertransport & SMP interrupts. The interrupt lines are scarce.
  * For interprocessor interrupts, the best thing to do is to use the INTMSG
@@ -109,6 +110,7 @@ static void ll_ht_smp_irq_handler(int irq)
 
        do_IRQ(irq);
 }
+#endif
 
 asmlinkage void plat_irq_dispatch(void)
 {