diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-23 15:12:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-23 22:09:20 -0400 |
commit | 617c62a9fc157c5dbb3c90945da5535e5b0a7f4c (patch) | |
tree | 1234e965d4ed8278985e557a13123d032c9d68cd /arch/parisc | |
parent | a42c6ded827dbd396d2efde7530620be029a72d1 (diff) |
parisc: need to check NOTIFY_RESUME when exiting from syscall
... not just on return from interrupt
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index 535034217021..4f283eaf4907 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S | |||
@@ -2028,7 +2028,7 @@ syscall_check_resched: | |||
2028 | .import do_signal,code | 2028 | .import do_signal,code |
2029 | syscall_check_sig: | 2029 | syscall_check_sig: |
2030 | LDREG TI_FLAGS-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r19 | 2030 | LDREG TI_FLAGS-THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r19 |
2031 | ldi (_TIF_SIGPENDING|_TIF_RESTORE_SIGMASK), %r26 | 2031 | ldi (_TIF_SIGPENDING|_TIF_RESTORE_SIGMASK|_TIF_NOTIFY_RESUME), %r26 |
2032 | and,COND(<>) %r19, %r26, %r0 | 2032 | and,COND(<>) %r19, %r26, %r0 |
2033 | b,n syscall_restore /* skip past if we've nothing to do */ | 2033 | b,n syscall_restore /* skip past if we've nothing to do */ |
2034 | 2034 | ||