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
This commit is contained in:
Linus Torvalds
2026-08-18 19:32:34 -07:00

View File

@@ -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