Переглянути джерело

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

This reverts commit d3228a887cae75ef2b8b1211c31c539bef5a5698.
DeBunk this code.  We need it for compat_sys_rt_sigqueueinfo.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Matthew Wilcox 18 роки тому
батько
коміт
c3de4b3815
2 змінених файлів з 3 додано та 1 видалено
  1. 1 0
      include/linux/sched.h
  2. 2 1
      kernel/signal.c

+ 1 - 0
include/linux/sched.h

@@ -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_pg_info(int sig, struct siginfo *info, pid_t pgrp);
 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 force_sig(int, struct task_struct *);
 extern void force_sig_specific(int, struct task_struct *);

+ 2 - 1
kernel/signal.c

@@ -1137,7 +1137,8 @@ int kill_pid_info(int sig, struct siginfo *info, struct pid *pid)
 	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;
 	rcu_read_lock();