RISC-V: Remove do_IRQ() function
authorAnup Patel <anup.patel@wdc.com>
Mon, 1 Jun 2020 09:15:42 +0000 (14:45 +0530)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 10 Jun 2020 02:11:24 +0000 (19:11 -0700)
commit24dc17005ca1d5034d5575f8f94bfd9ad719a22f
tree1195b62a069e4e01d85a606d2820b125dfcf34f9
parent033a65de7eced89f62d2cd166b1ee2d33af4f1e4
RISC-V: Remove do_IRQ() function

The only thing do_IRQ() does is call handle_arch_irq function
pointer. We can very well call handle_arch_irq function pointer
directly from assembly and remove do_IRQ() function hence this
patch.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/entry.S
arch/riscv/kernel/irq.c