]> err.no Git - linux-2.6/commit
sh: intc - add single bitmap register support
authorMagnus Damm <damm@igel.co.jp>
Fri, 3 Aug 2007 05:25:32 +0000 (14:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:47 +0000 (11:57 +0900)
commit51da64264b8d59a1e5fceebd94a975690b70b086
treebb3042c8e14f162bda662ec9e93c807aef37de05
parent2635e8558a7ec0002724e3da8c0a221d2c08af33
sh: intc - add single bitmap register support

This patch adds single bitmap register support to intc. The current
code only handles 16 and 32 bit registers where a set bit means
interrupt enabled, but this is easy to extend in the future.

The INTC_IRQ() macro is also added to provide a way to hook in
interrupt controllers for FPGAs in boards or companion chips.

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