Browse Source

[MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 years ago
parent
commit
7f32a88e9c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/mips/pmc-sierra/yosemite/irq.c

+ 2 - 0
arch/mips/pmc-sierra/yosemite/irq.c

@@ -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)
 {