diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-07-29 19:52:14 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 16:35:32 -0400 |
commit | 7f32a88e9cb6587cae89f5488050d167397ab9b2 (patch) | |
tree | 035de78566c186b146e9042840fc854aa244f440 /arch/mips/pmc-sierra/yosemite | |
parent | 035955b69ebc1e130fdf04d0233f131b84b637b9 (diff) |
[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/yosemite')
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/irq.c | 2 |
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 13799d15d129..4decc2807867 100644 --- a/arch/mips/pmc-sierra/yosemite/irq.c +++ b/arch/mips/pmc-sierra/yosemite/irq.c | |||
@@ -58,6 +58,7 @@ | |||
58 | 58 | ||
59 | extern void titan_mailbox_irq(void); | 59 | extern void titan_mailbox_irq(void); |
60 | 60 | ||
61 | #ifdef CONFIG_HYPERTRANSPORT | ||
61 | /* | 62 | /* |
62 | * Handle hypertransport & SMP interrupts. The interrupt lines are scarce. | 63 | * Handle hypertransport & SMP interrupts. The interrupt lines are scarce. |
63 | * For interprocessor interrupts, the best thing to do is to use the INTMSG | 64 | * 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) | |||
109 | 110 | ||
110 | do_IRQ(irq); | 111 | do_IRQ(irq); |
111 | } | 112 | } |
113 | #endif | ||
112 | 114 | ||
113 | asmlinkage void plat_irq_dispatch(void) | 115 | asmlinkage void plat_irq_dispatch(void) |
114 | { | 116 | { |