sh: intc - improve group support
authorMagnus Damm <damm@igel.co.jp>
Fri, 20 Jul 2007 03:09:29 +0000 (12:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:18:21 +0000 (12:18 +0900)
commit680c45981ae2b4029878806d76aa17bb62d3c674
tree57d0f10573fb577d1330f15ac6177666fe3cfb25
parentd0afa579698f33a65bc5c21d3d667dbb46f9e440
sh: intc - improve group support

This patch improves intc group support, ie it makes it possible to
group interrupts together and mask / unmask the entire group. This
also works with priorities, so setting a priority for an entire group
is also possible. This patch is needed to properly support certain
processors such as the 7780.

Fixes for NULL pointers in DECLARE_INTC_DESC() are also included.

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