diff options
| author | Jayachandran C <jchandra@broadcom.com> | 2012-10-31 08:01:41 -0400 |
|---|---|---|
| committer | John Crispin <blogic@openwrt.org> | 2012-11-09 05:37:20 -0500 |
| commit | 38541742da05f65d77e514a70bae9b84251c4bc4 (patch) | |
| tree | e7d6ebdb191f3da42009ec614c6b6bb006a7139b /arch/mips/include/asm/netlogic | |
| parent | bb1e4bc5cdc9dce7680317a4ebf87a12fc8c6a13 (diff) | |
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>
Diffstat (limited to 'arch/mips/include/asm/netlogic')
| -rw-r--r-- | arch/mips/include/asm/netlogic/common.h | 2 | ||||
| -rw-r--r-- | arch/mips/include/asm/netlogic/xlp-hal/pic.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/netlogic/common.h b/arch/mips/include/asm/netlogic/common.h index 3c6814eb612..1fee7eff64a 100644 --- a/arch/mips/include/asm/netlogic/common.h +++ b/arch/mips/include/asm/netlogic/common.h | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | struct irq_desc; | 53 | struct irq_desc; |
| 54 | void nlm_smp_function_ipi_handler(unsigned int irq, struct irq_desc *desc); | 54 | void nlm_smp_function_ipi_handler(unsigned int irq, struct irq_desc *desc); |
| 55 | void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc); | 55 | void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc); |
| 56 | void nlm_smp_irq_init(void); | 56 | void nlm_smp_irq_init(int hwcpuid); |
| 57 | void nlm_boot_secondary_cpus(void); | 57 | void nlm_boot_secondary_cpus(void); |
| 58 | int nlm_wakeup_secondary_cpus(void); | 58 | int nlm_wakeup_secondary_cpus(void); |
| 59 | void nlm_rmiboot_preboot(void); | 59 | void nlm_rmiboot_preboot(void); |
diff --git a/arch/mips/include/asm/netlogic/xlp-hal/pic.h b/arch/mips/include/asm/netlogic/xlp-hal/pic.h index 857a967e453..b2e53a5383a 100644 --- a/arch/mips/include/asm/netlogic/xlp-hal/pic.h +++ b/arch/mips/include/asm/netlogic/xlp-hal/pic.h | |||
| @@ -382,7 +382,6 @@ nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt) | |||
| 382 | } | 382 | } |
| 383 | 383 | ||
| 384 | int nlm_irq_to_irt(int irq); | 384 | int nlm_irq_to_irt(int irq); |
| 385 | int nlm_irt_to_irq(int irt); | ||
| 386 | 385 | ||
| 387 | #endif /* __ASSEMBLY__ */ | 386 | #endif /* __ASSEMBLY__ */ |
| 388 | #endif /* _NLM_HAL_PIC_H */ | 387 | #endif /* _NLM_HAL_PIC_H */ |
