Skip to content

Commit

Permalink
sh: enable sparseirq for highlander and r2d.
Browse files Browse the repository at this point in the history
highlander and r2d are the only remaining ones that were blocking
sparseirq being turned on by default, but it turns out that they already
work fine with it by virtue of register_intc_controller(). As such, we
can kill off the dependencies and turn it on by default.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Feb 2, 2010
1 parent deb9b22 commit 4b842c8
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ config GENERIC_IRQ_PROBE
config IRQ_PER_CPU
def_bool y

config SPARSE_IRQ
def_bool y
depends on SUPERH32

config GENERIC_GPIO
def_bool n

Expand Down Expand Up @@ -728,18 +732,6 @@ config GUSA_RB
LLSC, this should be more efficient than the other alternative of
disabling interrupts around the atomic sequence.

config SPARSE_IRQ
def_bool y
depends on SUPERH32 && !SH_HIGHLANDER && !SH_RTS7751R2D
help
This enables support for sparse irqs. This is useful in general
as most CPUs have a fairly sparse array of IRQ vectors, which
the irq_desc then maps directly on to. Systems with a high
number of off-chip IRQs will want to treat this as
experimental until they have been independently verified.

If you don't know what to do here, say N.

endmenu

menu "Boot options"
Expand Down

0 comments on commit 4b842c8

Please sign in to comment.