sparc32,leon: add support for extended interrupt controller
authorDaniel Hellstrom <daniel@gaisler.com>
Tue, 19 Apr 2011 23:41:22 +0000 (23:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2011 22:31:29 +0000 (15:31 -0700)
commit4c6773c3954cb1192f70a63e2dc61adc55bb0948
tree959f841e0ac17fc3e4796f9ee7582ea1a02627c3
parentd61a38b2ced149c00898833ccd3ea0433db8ae7d
sparc32,leon: add support for extended interrupt controller

The extended IRQ controller gives the LEON 16 more IRQs.

The patch installs a custom handler for the exetended controller
IRQ, where a register is read and the "real" IRQ causing IRQ is
determined.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/leon.h
arch/sparc/kernel/leon_kernel.c