From: Ralf Baechle Date: Sun, 29 Jul 2007 23:52:14 +0000 (+0100) Subject: [MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT. X-Git-Tag: v2.6.23-rc2~30^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f32a88e9cb6587cae89f5488050d167397ab9b2;p=linux-2.6 [MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/pmc-sierra/yosemite/irq.c b/arch/mips/pmc-sierra/yosemite/irq.c index 13799d15d1..4decc28078 100644 --- a/arch/mips/pmc-sierra/yosemite/irq.c +++ b/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) {