sh: NR_IRQS consolidation.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 12 Mar 2007 05:09:35 +0000 (14:09 +0900)
committerPaul Mundt <lethal@hera.kernel.org>
Mon, 7 May 2007 02:10:53 +0000 (02:10 +0000)
commitbe782df54c51b50dd4dbc363a5a5afa04565fc60
treebe45290a6d46e8746b5b9b51c1c3b804c6816177
parentfa69151173b1fc6fa3ced0edd5c2ea83b5d32bc1
sh: NR_IRQS consolidation.

Each board sets the total number of IRQs that it's interested in via
the machvec. Previously we cared about the off vs on-chip IRQ range,
but any code relying on that is long dead. Set NR_IRQS to something
sensible given the vector range, and allow boards to cap it if they
really care.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/irq.c
include/asm-sh/irq.h