avr32: missed _TIF_NOTIFY_RESUME on one of do_notify_resume callers
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 May 2012 19:14:10 +0000 (15:14 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 May 2012 02:09:21 +0000 (22:09 -0400)
we need that not just on syscall returns but on irq ones as well...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/avr32/kernel/entry-avr32b.S

index 169268c..5e6beb2 100644 (file)
@@ -587,7 +587,7 @@ fault_exit_work:
        ld.w    r1, r0[TI_flags]
        rjmp    fault_exit_work
 
-1:     mov     r2, _TIF_SIGPENDING | _TIF_RESTORE_SIGMASK
+1:     mov     r2, _TIF_SIGPENDING | _TIF_RESTORE_SIGMASK | _TIF_NOTIFY_RESUME
        tst     r1, r2
        breq    2f
        unmask_interrupts