aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/entry.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 04:27:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:27:00 -0400
commit9f23e7e94f7083d9705b595cbd6b30972be6fbbb (patch)
tree5fc6e90a9e361dca2e56bb03327078a2eb88cb4c /arch/sh/kernel/entry.S
parenta2d1a5fae6296c2a3ac1aaa982c95464c46c0585 (diff)
sh: pselect6 and ppoll, along with signal trampoline rework.
This implements support for ppoll() and pselect6().. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/entry.S')
-rw-r--r--arch/sh/kernel/entry.S8
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
375work_notifysig: 375work_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
4161: .long schedule 4161: .long schedule
4172: .long do_signal 4172: .long do_notify_resume
418 418
419 .align 2 419 .align 2
420syscall_exit_work: 420syscall_exit_work: