aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/score/kernel/entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/score/kernel/entry.S b/arch/score/kernel/entry.S
index 2f169175bbd..10e859ddefd 100644
--- a/arch/score/kernel/entry.S
+++ b/arch/score/kernel/entry.S
@@ -395,13 +395,13 @@ ENTRY(resume)
395 395
396ENTRY(handle_sys) 396ENTRY(handle_sys)
397 SAVE_ALL 397 SAVE_ALL
398 sw r8, [r0, 16] # argument 5 from user r8
399 sw r9, [r0, 20] # argument 6 from user r9
398 enable_irq 400 enable_irq
399 401
400 sw r4, [r0, PT_ORIG_R4] #for restart syscall 402 sw r4, [r0, PT_ORIG_R4] #for restart syscall
401 sw r7, [r0, PT_ORIG_R7] #for restart syscall 403 sw r7, [r0, PT_ORIG_R7] #for restart syscall
402 sw r27, [r0, PT_IS_SYSCALL] # it from syscall 404 sw r27, [r0, PT_IS_SYSCALL] # it from syscall
403 sw r8, [r0, 16] # argument 5 from user r8
404 sw r9, [r0, 20] # argument 6 from user r9
405 405
406 lw r9, [r0, PT_EPC] # skip syscall on return 406 lw r9, [r0, PT_EPC] # skip syscall on return
407 addi r9, 4 407 addi r9, 4