diff options
author | Ralf Baechle | 2006-06-03 23:30:58 +0200 |
---|---|---|
committer | Ralf Baechle | 2006-06-29 22:10:48 +0200 |
commit | b4ab24e1c8c1442b2928bab1325b56bdbbcf898e (patch) | |
tree | aa80383677ce2563fdaad652e8e45c05e722324f /include/asm-mips/irq.h | |
parent | [MIPS] Consistent formatting for Qemu makefile segment. (diff) | |
download | kernel-qcow2-linux-b4ab24e1c8c1442b2928bab1325b56bdbbcf898e.tar.gz kernel-qcow2-linux-b4ab24e1c8c1442b2928bab1325b56bdbbcf898e.tar.xz kernel-qcow2-linux-b4ab24e1c8c1442b2928bab1325b56bdbbcf898e.zip |
[MIPS] Define ARCH_HAS_IRQ_PER_CPU for all SMP systems.
Without SMTC on non-Malta will blow up.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/irq.h')
-rw-r--r-- | include/asm-mips/irq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/irq.h b/include/asm-mips/irq.h index d35c61776a02..896550bad322 100644 --- a/include/asm-mips/irq.h +++ b/include/asm-mips/irq.h @@ -76,4 +76,8 @@ extern int setup_irq_smtc(unsigned int irq, struct irqaction * new, unsigned long hwmask); #endif /* CONFIG_MIPS_MT_SMTC */ +#ifdef CONFIG_SMP +#define ARCH_HAS_IRQ_PER_CPU +#endif + #endif /* _ASM_IRQ_H */ |