summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop32x/irq.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-11-29 16:43:14 +0300
committerArd Biesheuvel <ardb@kernel.org>2021-12-06 14:48:47 +0300
commit90890f17ccd2aa96350abd1f4d37d4667e09027f (patch)
tree81eedd1028998839afa7984bf552e5a9f56c806c /arch/arm/mach-iop32x/irq.c
parentc1fe8d054c0a8b0ff0406dcc0ddc6c55e1cfddbc (diff)
downloadlinux-90890f17ccd2aa96350abd1f4d37d4667e09027f.tar.xz
ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER
Footbridge still uses the classic IRQ entry path in assembler, but this is easily converted into an equivalent C version. In this case, the correlation between IRQ numbers and bits in the status register is non-obvious, and the priorities are handled by manually checking each bit in a static order, re-reading the status register after each handled event. I moved the code into the new file and edited the syntax without changing this sequence to keep the behavior as close as possible to what it traditionally did. Signed-off-by: Arnd Bergmann <arnd@arndb.de> 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/mach-iop32x/irq.c')
0 files changed, 0 insertions, 0 deletions