MIPS: Netlogic: PIC IRQ handling update for multi-chip
authorJayachandran C <jchandra@broadcom.com>
Wed, 31 Oct 2012 12:01:41 +0000 (12:01 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:20 +0000 (11:37 +0100)
commit38541742da05f65d77e514a70bae9b84251c4bc4
treee7d6ebdb191f3da42009ec614c6b6bb006a7139b
parentbb1e4bc5cdc9dce7680317a4ebf87a12fc8c6a13
MIPS: Netlogic: PIC IRQ handling update for multi-chip

Create struct nlm_pic_irq for interrupts handled by the PIC.
This simplifies IRQ handling for multi-SoC as well as
the single SoC cases. Also split the setup of percpu and PIC
interrupts so that we can configure the PIC interrupts for
every node.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4467
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/include/asm/netlogic/common.h
arch/mips/include/asm/netlogic/xlp-hal/pic.h
arch/mips/netlogic/common/irq.c
arch/mips/netlogic/common/smp.c
arch/mips/netlogic/xlp/nlm_hal.c