diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-04-30 03:52:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:36 -0400 |
commit | ac5c215383f43a106ba4ef298126bf78c126f5e9 (patch) | |
tree | 77340eea86103df7bc3b4a6c6d83f4140004bc9c /include/linux/sched.h | |
parent | e62e6650e99a3dffcd0bf0d063cd818fbc13fa95 (diff) |
signals: join send_sigqueue() with send_group_sigqueue()
We export send_sigqueue() and send_group_sigqueue() for the only user,
posix_timer_event(). This is a bit silly, because both are just trivial
helpers on top of do_send_sigqueue() and because the we pass the unused
.si_signo parameter.
Kill them both, rename do_send_sigqueue() to send_sigqueue(), and export it.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index ef5615270342..0917b3df12d5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1751,8 +1751,7 @@ extern void zap_other_threads(struct task_struct *p); | |||
1751 | extern int kill_proc(pid_t, int, int); | 1751 | extern int kill_proc(pid_t, int, int); |
1752 | extern struct sigqueue *sigqueue_alloc(void); | 1752 | extern struct sigqueue *sigqueue_alloc(void); |
1753 | extern void sigqueue_free(struct sigqueue *); | 1753 | extern void sigqueue_free(struct sigqueue *); |
1754 | extern int send_sigqueue(int, struct sigqueue *, struct task_struct *); | 1754 | extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group); |
1755 | extern int send_group_sigqueue(int, struct sigqueue *, struct task_struct *); | ||
1756 | extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); | 1755 | extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); |
1757 | extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long); | 1756 | extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long); |
1758 | 1757 | ||