aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/entry.S
diff options
context:
space:
mode:
authorAnup Patel <anup@brainfault.org>2018-10-02 12:14:54 -0700
committerPalmer Dabbelt <palmer@sifive.com>2018-10-22 17:03:35 -0700
commit1ed4237ab616a05225e11d07bf42d5474deec905 (patch)
treeded02b031b4485ccb3372882850a16ebff139cf7 /arch/riscv/kernel/entry.S
parentLinux 4.19 (diff)
downloadlinux-dev-1ed4237ab616a05225e11d07bf42d5474deec905.tar.xz
linux-dev-1ed4237ab616a05225e11d07bf42d5474deec905.zip
RISC-V: No need to pass scause as arg to do_IRQ()
The scause is already part of pt_regs so no need to pass scause as separate arg to do_IRQ(). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anup Patel <anup@brainfault.org> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/entry.S')
-rw-r--r--arch/riscv/kernel/entry.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/kernel/entry.S b/arch/riscv/kernel/entry.S
index fa2c08e3c05e..6eaacfa5b63d 100644
--- a/arch/riscv/kernel/entry.S
+++ b/arch/riscv/kernel/entry.S
@@ -168,7 +168,6 @@ ENTRY(handle_exception)
/* Handle interrupts */
move a0, sp /* pt_regs */
- move a1, s4 /* scause */
tail do_IRQ
1:
/* Exceptions run with interrupts enabled */