pxa: correct icip irq handling
Subsystems (3)
PATCH 1/1 pxa: correct icip irq handling
IRQ handling on PXA25x is broken if PXA_HAVE_ISA_IRQS is enabled (then all PXA irqs are shifted to start from 16, but icip_handle_irq doesn't work in this case. Use PXA_IRQ to correct IRQ numbers in icip_handle_irq.
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>
--- arch/arm/mach-pxa/irq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-pxa/irq.c +1 -1
@@ -141,7 +141,7 @@ asmlinkage void __exception_irq_entry icip_handle_irq(struct pt_regs *regs)if (mask ==0 )break ; -asm_do_IRQ (fls (mask) -1 , regs); +asm_do_IRQ (PXA_IRQ (fls (mask) -1 ), regs); }while (1 ); }
Signature · 1 line
1.7.4.4
Eric Miao
AppliedPATCH 1/1 pxa: correct icip irq handling
Quoted 5 lines · Dmitry Eremin-Solenikov
IRQ handling on PXA25x is broken if
PXA_HAVE_ISA_IRQSis enabled (then all PXA irqs are shifted to start from 16, buticip_handle_irqdoesn't work in this case. UsePXA_IRQto correct IRQ numbers inicip_handle_irq.Signed-off-by Dmitry Eremin-Solenikov <[email protected]>
Applied. Unfortunately, Russell didn't seem to have pulled, so we may need further address the issues he pointed out.
Quoted 21 lines
---
?arch/arm/mach-pxa/irq.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-pxa/irq.c +1
-2@@ -141,7 +141,7 @@ asmlinkage void __exception_irq_entry icip_handle_irq(struct pt_regs *regs) ? ? ? ? ? ? ? ?if (mask == 0) ? ? ? ? ? ? ? ? ? ? ? ?break; - ? ? ? ? ? ? ? asm_do_IRQ(fls(mask) - 1, regs); + ? ? ? ? ? ? ? asm_do_IRQ(PXA_IRQ(fls(mask) - 1), regs); ? ? ? ?} while (1); ?} --1.7.4.4