aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9e5a88afe6be..e951bd2eb9fc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2337,7 +2337,10 @@ static inline int signal_pending(struct task_struct *p)
2337 return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING)); 2337 return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING));
2338} 2338}
2339 2339
2340extern int __fatal_signal_pending(struct task_struct *p); 2340static inline int __fatal_signal_pending(struct task_struct *p)
2341{
2342 return unlikely(sigismember(&p->pending.signal, SIGKILL));
2343}
2341 2344
2342static inline int fatal_signal_pending(struct task_struct *p) 2345static inline int fatal_signal_pending(struct task_struct *p)
2343{ 2346{