diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-08-03 12:34:24 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 08:37:29 -0400 |
commit | b4b30a5a0a270e6b3fef88373ad35d235a047fc1 (patch) | |
tree | ccf776ad71c648ac7077491e48f2a5b66f7778bf | |
parent | 4d157d5eac29d7d5559fdcabf20f3961bc5cb3e7 (diff) |
[MIPS] Cleanup leftovers of ARCH_HAS_IRQ_PER_CPU
CONFIG_IRQ_PER_CPU now controls the IRQ_PER_CPU stuff.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/Kconfig | 3 | ||||
-rw-r--r-- | include/asm-mips/irq.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 330f6abc7703..18e15a651d51 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1649,9 +1649,7 @@ config GENERIC_IRQ_PROBE | |||
1649 | default y | 1649 | default y |
1650 | 1650 | ||
1651 | config IRQ_PER_CPU | 1651 | config IRQ_PER_CPU |
1652 | depends on SMP | ||
1653 | bool | 1652 | bool |
1654 | default y | ||
1655 | 1653 | ||
1656 | # | 1654 | # |
1657 | # - Highmem only makes sense for the 32-bit kernel. | 1655 | # - Highmem only makes sense for the 32-bit kernel. |
@@ -1719,6 +1717,7 @@ source "mm/Kconfig" | |||
1719 | config SMP | 1717 | config SMP |
1720 | bool "Multi-Processing support" | 1718 | bool "Multi-Processing support" |
1721 | depends on SYS_SUPPORTS_SMP | 1719 | depends on SYS_SUPPORTS_SMP |
1720 | select IRQ_PER_CPU | ||
1722 | help | 1721 | help |
1723 | This enables support for systems with more than one CPU. If you have | 1722 | This enables support for systems with more than one CPU. If you have |
1724 | a system with only one CPU, like most personal computers, say N. If | 1723 | a system with only one CPU, like most personal computers, say N. If |
diff --git a/include/asm-mips/irq.h b/include/asm-mips/irq.h index 896550bad322..d35c61776a02 100644 --- a/include/asm-mips/irq.h +++ b/include/asm-mips/irq.h | |||
@@ -76,8 +76,4 @@ extern int setup_irq_smtc(unsigned int irq, struct irqaction * new, | |||
76 | unsigned long hwmask); | 76 | unsigned long hwmask); |
77 | #endif /* CONFIG_MIPS_MT_SMTC */ | 77 | #endif /* CONFIG_MIPS_MT_SMTC */ |
78 | 78 | ||
79 | #ifdef CONFIG_SMP | ||
80 | #define ARCH_HAS_IRQ_PER_CPU | ||
81 | #endif | ||
82 | |||
83 | #endif /* _ASM_IRQ_H */ | 79 | #endif /* _ASM_IRQ_H */ |