mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
[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>
This commit is contained in:
parent
14cd801501
commit
b4ab24e1c8
@ -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 */
|
||||
|
@ -4,10 +4,4 @@
|
||||
|
||||
#define NR_IRQS 256
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
#define ARCH_HAS_IRQ_PER_CPU
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_MACH_MIPS_IRQ_H */
|
||||
|
Loading…
Reference in New Issue
Block a user