]> 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, 21 Jun 2012 04:02:46 +0000 (08:02 +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 ff1f0e6e9becd18f111d3a3d83730fd4860dfe02..49d63266291f7acc3f7e4b17225469a9e3225b50 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