]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3892450a4fb7e320033d96a45a3046c861fa9153
treec248710475090f01dc874e2c878efc769b24d2af
parent0583d69e409f927fe23c48b08616f11cd984684b
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