aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pmc-sierra
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-30 00:52:14 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:32 +0100
commit7f32a88e9cb6587cae89f5488050d167397ab9b2 (patch)
tree035de78566c186b146e9042840fc854aa244f440 /arch/mips/pmc-sierra
parent035955b69ebc1e130fdf04d0233f131b84b637b9 (diff)
downloadkernel_samsung_smdk4412-7f32a88e9cb6587cae89f5488050d167397ab9b2.zip
kernel_samsung_smdk4412-7f32a88e9cb6587cae89f5488050d167397ab9b2.tar.gz
kernel_samsung_smdk4412-7f32a88e9cb6587cae89f5488050d167397ab9b2.tar.bz2
[MIPS] Yosemite: Only build ll_ht_smp_irq_handler() if HYPERTRANSPORT.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmc-sierra')
-rw-r--r--arch/mips/pmc-sierra/yosemite/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/pmc-sierra/yosemite/irq.c b/arch/mips/pmc-sierra/yosemite/irq.c
index 13799d1..4decc28 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)
{