Selaa lähdekoodia

[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>
Ralf Baechle 19 vuotta sitten
vanhempi
commit
b4ab24e1c8
2 muutettua tiedostoa jossa 4 lisäystä ja 6 poistoa
  1. 4 0
      include/asm-mips/irq.h
  2. 0 6
      include/asm-mips/mach-mips/irq.h

+ 4 - 0
include/asm-mips/irq.h

@@ -76,4 +76,8 @@ extern int setup_irq_smtc(unsigned int irq, struct irqaction * new,
                           unsigned long hwmask);
                           unsigned long hwmask);
 #endif /* CONFIG_MIPS_MT_SMTC */
 #endif /* CONFIG_MIPS_MT_SMTC */
 
 
+#ifdef CONFIG_SMP
+#define ARCH_HAS_IRQ_PER_CPU
+#endif
+
 #endif /* _ASM_IRQ_H */
 #endif /* _ASM_IRQ_H */

+ 0 - 6
include/asm-mips/mach-mips/irq.h

@@ -4,10 +4,4 @@
 
 
 #define NR_IRQS	256
 #define NR_IRQS	256
 
 
-#ifdef CONFIG_SMP
-
-#define ARCH_HAS_IRQ_PER_CPU
-
-#endif
-
 #endif /* __ASM_MACH_MIPS_IRQ_H */
 #endif /* __ASM_MACH_MIPS_IRQ_H */