Skip to content

Commit

Permalink
[MIPS] Define ARCH_HAS_IRQ_PER_CPU for all SMP systems.
Browse files Browse the repository at this point in the history
Without SMTC on non-Malta will blow up.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Jun 29, 2006
1 parent 14cd801 commit b4ab24e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions include/asm-mips/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
6 changes: 0 additions & 6 deletions include/asm-mips/mach-mips/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@

#define NR_IRQS 256

#ifdef CONFIG_SMP

#define ARCH_HAS_IRQ_PER_CPU

#endif

#endif /* __ASM_MACH_MIPS_IRQ_H */

0 comments on commit b4ab24e

Please sign in to comment.