]> err.no Git - linux-2.6/commitdiff
[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 13799d15d12952fef79ab2794b882a6922a9dbee..4decc28078673203a4355c9d7c64950a25c6d6c7 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)
 {