Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165689
b: refs/heads/master
c: d958872
h: refs/heads/master
i:
  165687: 72d0aa9
v: v3
  • Loading branch information
Roland McGrath authored and Linus Torvalds committed Sep 24, 2009
1 parent 9a1f358 commit 99fd403
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba0a6c9f6fceed11c6a99e8326f0477fe383e6b5
refs/heads/master: d9588725e52650e82989707f8fd2feb67ad2dc8e
5 changes: 4 additions & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,10 @@ static inline int signal_pending(struct task_struct *p)
return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING));
}

extern int __fatal_signal_pending(struct task_struct *p);
static inline int __fatal_signal_pending(struct task_struct *p)
{
return unlikely(sigismember(&p->pending.signal, SIGKILL));
}

static inline int fatal_signal_pending(struct task_struct *p)
{
Expand Down
6 changes: 0 additions & 6 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,12 +1050,6 @@ void zap_other_threads(struct task_struct *p)
}
}

int __fatal_signal_pending(struct task_struct *tsk)
{
return sigismember(&tsk->pending.signal, SIGKILL);
}
EXPORT_SYMBOL(__fatal_signal_pending);

struct sighand_struct *lock_task_sighand(struct task_struct *tsk, unsigned long *flags)
{
struct sighand_struct *sighand;
Expand Down

0 comments on commit 99fd403

Please sign in to comment.