aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-30 03:52:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 11:29:36 -0400
commitac5c215383f43a106ba4ef298126bf78c126f5e9 (patch)
tree77340eea86103df7bc3b4a6c6d83f4140004bc9c /include/linux/sched.h
parente62e6650e99a3dffcd0bf0d063cd818fbc13fa95 (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.h3
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);
1751extern int kill_proc(pid_t, int, int); 1751extern int kill_proc(pid_t, int, int);
1752extern struct sigqueue *sigqueue_alloc(void); 1752extern struct sigqueue *sigqueue_alloc(void);
1753extern void sigqueue_free(struct sigqueue *); 1753extern void sigqueue_free(struct sigqueue *);
1754extern int send_sigqueue(int, struct sigqueue *, struct task_struct *); 1754extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group);
1755extern int send_group_sigqueue(int, struct sigqueue *, struct task_struct *);
1756extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); 1755extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *);
1757extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long); 1756extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
1758 1757