summaryrefslogtreecommitdiff
path: root/arch/csky/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-08-18 19:32:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-08-18 19:32:34 -0700
commitd10e148b27cd746cc5c27e30686153eb97e8d8d0 (patch)
treebd094b772a0a05ee51db0da3d0bf6621f0c7d3c7 /arch/csky/kernel
parent5808ac188949d7b49ed9e51f1ffcd096cac57006 (diff)
parentabb81e5ce7d995baa41556b8125fa59e28ba3be8 (diff)
Merge tag 'csky-for-linus-7.3' of https://github.com/c-sky/csky-linux
Pull csky update from Guo Ren: - Fix a4/a5 restoration in syscall trace path * tag 'csky-for-linus-7.3' of https://github.com/c-sky/csky-linux: csky: Fix a4/a5 restoration in syscall trace path
Diffstat (limited to 'arch/csky/kernel')
-rw-r--r--arch/csky/kernel/entry.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/csky/kernel/entry.S b/arch/csky/kernel/entry.S
index c68cdcc76d60..3261f46f2244 100644
--- a/arch/csky/kernel/entry.S
+++ b/arch/csky/kernel/entry.S
@@ -93,11 +93,11 @@ csky_syscall_trace:
ldw a2, (sp, LSAVE_A2)
ldw a3, (sp, LSAVE_A3)
#if defined(__CSKYABIV2__)
- subi sp, 8
ldw r9, (sp, LSAVE_A4)
+ ldw r10, (sp, LSAVE_A5)
+ subi sp, 8
stw r9, (sp, 0x0)
- ldw r9, (sp, LSAVE_A5)
- stw r9, (sp, 0x4)
+ stw r10, (sp, 0x4)
jsr syscallid /* Do system call */
addi sp, 8
#else