[MIPS] Define ARCH_HAS_IRQ_PER_CPU for all SMP systems.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 3 Jun 2006 21:30:58 +0000 (22:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Jun 2006 20:10:48 +0000 (21:10 +0100)
Without SMTC on non-Malta will blow up.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/irq.h
include/asm-mips/mach-mips/irq.h

index d35c617..896550b 100644 (file)
@@ -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 */
index 083d9c5..e994b0c 100644 (file)
@@ -4,10 +4,4 @@
 
 #define NR_IRQS        256
 
-#ifdef CONFIG_SMP
-
-#define ARCH_HAS_IRQ_PER_CPU
-
-#endif
-
 #endif /* __ASM_MACH_MIPS_IRQ_H */