1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm/assembler.h>
5 * Interrupt handling. Preserves r7, r8, r9
7 .macro arch_irq_handler_default
8 get_irqnr_preamble r6, lr
9 1: get_irqnr_and_base r0, r2, r6, lr
12 @ routine called with r0 = irq number, r1 = struct pt_regs *
21 * this macro assumes that irqstat (r2) and base (r6) are
22 * preserved from get_irqnr_and_base above
24 ALT_SMP(test_for_ipi r0, r2, r6, lr)
33 .macro arch_irq_handler, symbol_name
38 arch_irq_handler_default