]> err.no Git - linux-2.6/commitdiff
[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 d35c61776a0249d5620a8a70a8033b15735f48fc..896550bad3229cbd388fa8ce9705129ecdf91ca4 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 083d9c512a04914c6520f54603c310af932a5213..e994b0c012279a316693e403b4f94d80ea522c4d 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 */