diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 3de1ba2af032..9f9b4183178e 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1904,10 +1904,10 @@ static inline bool may_ptrace_stop(void) | |||
1904 | * Return non-zero if there is a SIGKILL that should be waking us up. | 1904 | * Return non-zero if there is a SIGKILL that should be waking us up. |
1905 | * Called with the siglock held. | 1905 | * Called with the siglock held. |
1906 | */ | 1906 | */ |
1907 | static int sigkill_pending(struct task_struct *tsk) | 1907 | static bool sigkill_pending(struct task_struct *tsk) |
1908 | { | 1908 | { |
1909 | return sigismember(&tsk->pending.signal, SIGKILL) || | 1909 | return sigismember(&tsk->pending.signal, SIGKILL) || |
1910 | sigismember(&tsk->signal->shared_pending.signal, SIGKILL); | 1910 | sigismember(&tsk->signal->shared_pending.signal, SIGKILL); |
1911 | } | 1911 | } |
1912 | 1912 | ||
1913 | /* | 1913 | /* |