]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: missing tests for NOTIFY_RESUME
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 May 2012 00:54:43 +0000 (20:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Sep 2012 17:57:31 +0000 (13:57 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sh/kernel/cpu/sh5/entry.S
arch/sh/kernel/entry-common.S

index b7cf6a547f117c5eeae4b69f6b1ccbcdb41b37c8..017050880d565d7f30b218c9451ac3146238e210 100644 (file)
@@ -933,7 +933,7 @@ ret_with_reschedule:
 
        pta     restore_all, tr1
 
-       movi    _TIF_SIGPENDING, r8
+       movi    _TIF_SIGPENDING|_TIF_NOTIFY_RESUME, r8
        and     r8, r7, r8
        pta     work_notifysig, tr0
        bne     r8, ZERO, tr0
index f67601cb3f1f47da13a49ae4948021800b9a2f4d..f4a7a05ecc60c380a8086b554adb5814f5513a9e 100644 (file)
@@ -139,7 +139,7 @@ work_pending:
        ! r8: current_thread_info
        ! t:  result of "tst    #_TIF_NEED_RESCHED, r0"
        bf/s    work_resched
-        tst    #_TIF_SIGPENDING, r0
+        tst    #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME, r0
 work_notifysig:
        bt/s    __restore_all
         mov    r15, r4