1/* SPDX-License-Identifier: GPL-2.0 */ 2#include <asm/assembler.h> 3 4/* 5 * Interrupt handling. Preserves r7, r8, r9 6 */ 7 .macro arch_irq_handler_default 8 get_irqnr_preamble r6, lr 91: get_irqnr_and_base r0, r2, r6, lr 10 movne r1, sp 11 @ 12 @ routine called with r0 = irq number, r1 = struct pt_regs * 13 @ 14 badrne lr, 1b 15 bne asm_do_IRQ 16 .endm 17