aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/entry.S')
-rw-r--r--arch/sh/kernel/entry.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S
index b087d34dba35..fcbf50d4ee10 100644
--- a/arch/sh/kernel/entry.S
+++ b/arch/sh/kernel/entry.S
@@ -376,6 +376,7 @@ work_notifysig:
376 bt/s restore_all 376 bt/s restore_all
377 mov r15, r4 377 mov r15, r4
378 mov #0, r5 378 mov #0, r5
379 mov r12, r6 ! set arg2(save_r0)
379 mov.l 2f, r1 380 mov.l 2f, r1
380 mova restore_all, r0 381 mova restore_all, r0
381 jmp @r1 382 jmp @r1
@@ -534,6 +535,7 @@ syscall_call:
534 mov.l @r9, r8 535 mov.l @r9, r8
535 jsr @r8 ! jump to specific syscall handler 536 jsr @r8 ! jump to specific syscall handler
536 nop 537 nop
538 mov.l @(OFF_R0,r15), r12 ! save r0
537 mov.l r0, @(OFF_R0,r15) ! save the return value 539 mov.l r0, @(OFF_R0,r15) ! save the return value
538 ! 540 !
539syscall_exit: 541syscall_exit: