2 * include/asm-arm/arch-ixp23xx/entry-macro.S
8 .macro get_irqnr_preamble, base, tmp
11 .macro arch_ret_to_user, tmp1, tmp2
14 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
15 ldr \irqnr, =(IXP23XX_INTC_VIRT + IXP23XX_INTR_IRQ_ENC_ST_OFFSET)
16 ldr \irqnr, [\irqnr] @ get interrupt number
17 cmp \irqnr, #0x0 @ spurious interrupt ?
18 movne \irqnr, \irqnr, lsr #2 @ skip unwanted low order bits
19 subne \irqnr, \irqnr, #1 @ convert to 0 based
22 cmp \irqnr, #IRQ_IXP23XX_PCI_INT_RPH
24 mov \irqnr, #IRQ_IXP23XX_INTA
26 ldr \irqnr, =0xf5000030
30 movne \irqnr, #IRQ_IXP23XX_INTB
34 movne \irqnr, #IRQ_IXP23XX_INTA