aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/kernel
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-09-14 23:34:58 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-09-14 23:34:58 +0300
commit30055ec1753b5f8cfc2940dba5d4188475fdbf7f (patch)
tree5497eb92f0f7083755589ca5a31755166a739522 /arch/riscv64/kernel
parentcabbf335824db0df835e4c541c19d3803ce38454 (diff)
downloadkmi-30055ec1753b5f8cfc2940dba5d4188475fdbf7f.tar.gz
kmi-30055ec1753b5f8cfc2940dba5d4188475fdbf7f.zip
add putch syscall for easier userspace debugging
+ Note that it is NOT intended for end user usage, just for debugging.
Diffstat (limited to 'arch/riscv64/kernel')
-rw-r--r--arch/riscv64/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/kernel/entry.S b/arch/riscv64/kernel/entry.S
index 7301d4e..1bd6046 100644
--- a/arch/riscv64/kernel/entry.S
+++ b/arch/riscv64/kernel/entry.S
@@ -128,7 +128,7 @@ restore_noreturn:
lr s2, offsetof_s2(sp)
lr s3, offsetof_s3(sp)
lr s4, offsetof_s4(sp)
- lr s5, offsetof_s4(sp)
+ lr s5, offsetof_s5(sp)
lr s6, offsetof_s6(sp)
lr s7, offsetof_s7(sp)
lr s8, offsetof_s8(sp)