diff options
Diffstat (limited to 'arch/sh/kernel/entry.S')
-rw-r--r-- | arch/sh/kernel/entry.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S index fcbf50d4ee10..fd5fe2349f20 100644 --- a/arch/sh/kernel/entry.S +++ b/arch/sh/kernel/entry.S | |||
@@ -371,12 +371,12 @@ work_pending: | |||
371 | ! r8: current_thread_info | 371 | ! r8: current_thread_info |
372 | ! t: result of "tst #_TIF_NEED_RESCHED, r0" | 372 | ! t: result of "tst #_TIF_NEED_RESCHED, r0" |
373 | bf/s work_resched | 373 | bf/s work_resched |
374 | tst #_TIF_SIGPENDING, r0 | 374 | tst #(_TIF_SIGPENDING | _TIF_RESTORE_SIGMASK), r0 |
375 | work_notifysig: | 375 | 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 r12, r5 ! set arg1(save_r0) |
379 | mov r12, r6 ! set arg2(save_r0) | 379 | mov r0, r6 |
380 | mov.l 2f, r1 | 380 | mov.l 2f, r1 |
381 | mova restore_all, r0 | 381 | mova restore_all, r0 |
382 | jmp @r1 | 382 | jmp @r1 |
@@ -414,7 +414,7 @@ work_resched: | |||
414 | 414 | ||
415 | .align 2 | 415 | .align 2 |
416 | 1: .long schedule | 416 | 1: .long schedule |
417 | 2: .long do_signal | 417 | 2: .long do_notify_resume |
418 | 418 | ||
419 | .align 2 | 419 | .align 2 |
420 | syscall_exit_work: | 420 | syscall_exit_work: |