mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
[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>
This commit is contained in:
parent
4d157d5eac
commit
b4b30a5a0a
@ -1649,9 +1649,7 @@ config GENERIC_IRQ_PROBE
|
|||||||
default y
|
default y
|
||||||
|
|
||||||
config IRQ_PER_CPU
|
config IRQ_PER_CPU
|
||||||
depends on SMP
|
|
||||||
bool
|
bool
|
||||||
default y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# - Highmem only makes sense for the 32-bit kernel.
|
# - Highmem only makes sense for the 32-bit kernel.
|
||||||
@ -1719,6 +1717,7 @@ source "mm/Kconfig"
|
|||||||
config SMP
|
config SMP
|
||||||
bool "Multi-Processing support"
|
bool "Multi-Processing support"
|
||||||
depends on SYS_SUPPORTS_SMP
|
depends on SYS_SUPPORTS_SMP
|
||||||
|
select IRQ_PER_CPU
|
||||||
help
|
help
|
||||||
This enables support for systems with more than one CPU. If you have
|
This enables support for systems with more than one CPU. If you have
|
||||||
a system with only one CPU, like most personal computers, say N. If
|
a system with only one CPU, like most personal computers, say N. If
|
||||||
|
@ -76,8 +76,4 @@ 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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user