From b0de851ebb032bd1517790b1c07d408d84e82f94 Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Fri, 24 Nov 2017 23:12:15 +0100 Subject: arch/riscv: Return from trap_handler instead of jumping out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8dbed5dbe377d3a02e58a3bc16a1ee112b28bea9 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/21764 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/trap_util.S | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch/riscv/trap_util.S') diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S index 98db85c4cb..3036f069ab 100644 --- a/src/arch/riscv/trap_util.S +++ b/src/arch/riscv/trap_util.S @@ -141,7 +141,6 @@ trap_entry: move a0,sp jal trap_handler - .global trap_return trap_return: csrr a0, mscratch restore_regs -- cgit v1.2.3