diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-27 13:42:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 12:58:50 -0400 |
commit | edd63a2763bdae0daa4f0a4d4c5d61d1154352a5 (patch) | |
tree | a36c599628574280999af2d1e7bfe2a4a6969164 /arch/powerpc/include | |
parent | 6fd84c0831ec78d98736b76dc5e9b849f1dbfc9e (diff) | |
download | op-kernel-dev-edd63a2763bdae0daa4f0a4d4c5d61d1154352a5.zip op-kernel-dev-edd63a2763bdae0daa4f0a4d4c5d61d1154352a5.tar.gz |
set_restore_sigmask() is never called without SIGPENDING (and never should be)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/thread_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/thread_info.h b/arch/powerpc/include/asm/thread_info.h index 85d50a9..68831e9 100644 --- a/arch/powerpc/include/asm/thread_info.h +++ b/arch/powerpc/include/asm/thread_info.h @@ -140,7 +140,7 @@ static inline void set_restore_sigmask(void) { struct thread_info *ti = current_thread_info(); ti->local_flags |= _TLF_RESTORE_SIGMASK; - set_bit(TIF_SIGPENDING, &ti->flags); + WARN_ON(!test_bit(TIF_SIGPENDING, &ti->flags)); } static inline void clear_restore_sigmask(void) { |