summaryrefslogtreecommitdiff
path: root/src/arch/riscv/trap_util.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/trap_util.S')
-rw-r--r--src/arch/riscv/trap_util.S1
1 files changed, 0 insertions, 1 deletions
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