提交 c3de4b38 编写于 作者: M Matthew Wilcox 提交者: Kyle McMartin

Revert "[PATCH] make kernel/signal.c:kill_proc_info() static"

This reverts commit d3228a88.
DeBunk this code.  We need it for compat_sys_rt_sigqueueinfo.
Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 d104f11c
...@@ -1329,6 +1329,7 @@ extern int kill_pgrp(struct pid *pid, int sig, int priv); ...@@ -1329,6 +1329,7 @@ extern int kill_pgrp(struct pid *pid, int sig, int priv);
extern int kill_pid(struct pid *pid, int sig, int priv); extern int kill_pid(struct pid *pid, int sig, int priv);
extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp); extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp);
extern int kill_pg_info(int, struct siginfo *, pid_t); extern int kill_pg_info(int, struct siginfo *, pid_t);
extern int kill_proc_info(int, struct siginfo *, pid_t);
extern void do_notify_parent(struct task_struct *, int); extern void do_notify_parent(struct task_struct *, int);
extern void force_sig(int, struct task_struct *); extern void force_sig(int, struct task_struct *);
extern void force_sig_specific(int, struct task_struct *); extern void force_sig_specific(int, struct task_struct *);
......
...@@ -1137,7 +1137,8 @@ int kill_pid_info(int sig, struct siginfo *info, struct pid *pid) ...@@ -1137,7 +1137,8 @@ int kill_pid_info(int sig, struct siginfo *info, struct pid *pid)
return error; return error;
} }
static int kill_proc_info(int sig, struct siginfo *info, pid_t pid) int
kill_proc_info(int sig, struct siginfo *info, pid_t pid)
{ {
int error; int error;
rcu_read_lock(); rcu_read_lock();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册