aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/entry-macro-multi.S
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-11-26 22:36:06 +0100
committerArd Biesheuvel <ardb@kernel.org>2021-12-06 12:49:11 +0100
commit54f481a2308efab49d2b14c3f8263b34fdb1c65e (patch)
tree8979f2ba64fe95fb01c3f649ce09eeeb4c9d5cf2 /arch/arm/include/asm/entry-macro-multi.S
parentARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER (diff)
downloadlinux-dev-54f481a2308efab49d2b14c3f8263b34fdb1c65e.tar.xz
linux-dev-54f481a2308efab49d2b14c3f8263b34fdb1c65e.zip
ARM: remove old-style irq entry
The last user of arch_irq_handler_default is gone now, so the entry-macro-multi.S file and all references to mach/entry-macro.S can be removed, as well as the asm_do_IRQ() entrypoint into the interrupt handling routines implemented in C. Note: The ARMv7-M entry still uses its own top-level IRQ entry, calling nvic_handle_irq() from assembly. This could be changed to go through generic_handle_arch_irq() as well, but it's unclear to me if there are any benefits. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [ardb: keep irq_handler macro as it carries all the IRQ stack handling] Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Marc Zyngier <maz@kernel.org> Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/entry-macro-multi.S')
-rw-r--r--arch/arm/include/asm/entry-macro-multi.S16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/include/asm/entry-macro-multi.S b/arch/arm/include/asm/entry-macro-multi.S
deleted file mode 100644
index 24486dad9e19..000000000000
--- a/arch/arm/include/asm/entry-macro-multi.S
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#include <asm/assembler.h>
-
-/*
- * Interrupt handling. Preserves r7, r8, r9
- */
- .macro arch_irq_handler_default
- get_irqnr_preamble r6, lr
-1: get_irqnr_and_base r0, r2, r6, lr
- movne r1, sp
- @
- @ routine called with r0 = irq number, r1 = struct pt_regs *
- @
- badrne lr, 1b
- bne asm_do_IRQ
- .endm