2 * include/asm-arm/arch-ixp23xx/entry-macro.S
8 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
9 ldr \irqnr, =(IXP23XX_INTC_VIRT + IXP23XX_INTR_IRQ_ENC_ST_OFFSET)
10 ldr \irqnr, [\irqnr] @ get interrupt number
11 cmp \irqnr, #0x0 @ spurious interrupt ?
12 movne \irqnr, \irqnr, lsr #2 @ skip unwanted low order bits
13 subne \irqnr, \irqnr, #1 @ convert to 0 based
16 cmp \irqnr, #IRQ_IXP23XX_PCI_INT_RPH
18 mov \irqnr, #IRQ_IXP23XX_INTA
20 ldr \irqnr, =0xf5000030
24 movne \irqnr, #IRQ_IXP23XX_INTB
28 movne \irqnr, #IRQ_IXP23XX_INTA