aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-03 15:08:26 -0700
committerMoyster <oysterized@gmail.com>2019-05-02 18:20:06 +0200
commit7afcba40d52195dfb933ed9cdc16a1c2f712abf9 (patch)
tree96c982555521309a1217920032b63313e9ebb5a1 /include/linux/sched.h
parent9e6ce211671a60144aca34fcad1bbcb570f1f9ab (diff)
exit.c: unexport __set_special_pids()
Move __set_special_pids() from exit.c to sys.c close to its single caller and make it static. And rename it to set_special_pids(), another helper with this name has gone away. Change-Id: I0095999c845fabe07cdb3854c5ee1866220e3198 Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: "Eric W. Biederman" <ebiederm@xmission.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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index aa8c3ff12..099b6915b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2150,8 +2150,6 @@ extern struct task_struct *find_task_by_vpid(pid_t nr);
extern struct task_struct *find_task_by_pid_ns(pid_t nr,
struct pid_namespace *ns);
-extern void __set_special_pids(struct pid *pid);
-
/* per-UID process charging. */
extern struct user_struct * alloc_uid(kuid_t);
static inline struct user_struct *get_uid(struct user_struct *u)