sh: intc - rework core code
authorMagnus Damm <damm@igel.co.jp>
Sun, 12 Aug 2007 06:26:12 +0000 (15:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:50 +0000 (11:57 +0900)
commit73505b445dbb8ad12df468404c4dd5cde9c40c65
treec248710475090f01dc874e2c878efc769b24d2af
parent6ef5fb2cfcedaab4a43493c8f2305a67c0ce1af6
sh: intc - rework core code

This patch reworks the intc core, implementing the following features:

- Support dual priority registers - one set and one clear register
- All 8/16/32 bit register combinations are now supported
- Both single mask and single enable bitmap register are supported
- Add code to set interrupt priority
- Speedup sense and priority configuration code
- Allocate data using bootmem, allows intc data structures to be
  __initdata
- Save memory - allocated memory footprint is smaller than intc
  structures

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/cchips/voyagergx/irq.c
arch/sh/kernel/cpu/irq/intc.c
include/asm-sh/hw_irq.h