summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-12 13:48:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-12 13:48:27 +0900
commitee2760ea58d81fc00bcc2137232ed9bc28202aec (patch)
tree3a87d2b73bd83ac5315387e554d0000d290df672
parent53e6d8e0060fe2bb9b11238f8250fdfbb0589425 (diff)
downloadop-kernel-dev-ee2760ea58d81fc00bcc2137232ed9bc28202aec.zip
op-kernel-dev-ee2760ea58d81fc00bcc2137232ed9bc28202aec.tar.gz
sh: default to sparseirq.
As SH has a very sparse IRQ map by default, all new CPUs and boards benefit from using sparseirq by default. Despite this, there are still a few stragglers (mostly due to using a fixed IRQ range for their FPGA IRQ mappings), and these still need to be converted over one by one. As these are now in the minority, and we do not want to encourage this sort of brain-damage in newer board ports, we force sparseirq on. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2121fbb..ae6c736 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -726,8 +726,9 @@ config GUSA_RB
disabling interrupts around the atomic sequence.
config SPARSE_IRQ
- bool "Support sparse irq numbering"
- depends on EXPERIMENTAL
+ def_bool y
+ depends on SUPERH32 && !SH_DREAMCAST && !SH_HIGHLANDER && \
+ !SH_RTS7751R2D && !HD64461 && !SH_7724_SOLUTION_ENGINE
help
This enables support for sparse irqs. This is useful in general
as most CPUs have a fairly sparse array of IRQ vectors, which
OpenPOWER on IntegriCloud