diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-06-01 14:45:42 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-06-09 19:11:24 -0700 |
commit | 24dc17005ca1d5034d5575f8f94bfd9ad719a22f (patch) | |
tree | 1195b62a069e4e01d85a606d2820b125dfcf34f9 /arch/riscv/kernel/irq.c | |
parent | 033a65de7eced89f62d2cd166b1ee2d33af4f1e4 (diff) | |
download | linux-24dc17005ca1d5034d5575f8f94bfd9ad719a22f.tar.bz2 |
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>
Diffstat (limited to 'arch/riscv/kernel/irq.c')
-rw-r--r-- | arch/riscv/kernel/irq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/riscv/kernel/irq.c b/arch/riscv/kernel/irq.c index eb8777642ce6..7207fa08d78f 100644 --- a/arch/riscv/kernel/irq.c +++ b/arch/riscv/kernel/irq.c @@ -16,12 +16,6 @@ int arch_show_interrupts(struct seq_file *p, int prec) return 0; } -asmlinkage __visible void __irq_entry do_IRQ(struct pt_regs *regs) -{ - if (handle_arch_irq) - handle_arch_irq(regs); -} - void __init init_IRQ(void) { irqchip_init(); |