diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-03 18:08:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:08:02 -0400 |
commit | 81dabb464139324c005159f5afba377104d8828d (patch) | |
tree | 6f105f6a2a4f32b8ff45efb51889b172452e7282 /include | |
parent | 3f4185483832ccf3d2977923db576fa689c2abce (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.
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')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index ec80684a0127..cdd5407b37e2 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1950,8 +1950,6 @@ extern struct task_struct *find_task_by_vpid(pid_t nr); | |||
1950 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, | 1950 | extern struct task_struct *find_task_by_pid_ns(pid_t nr, |
1951 | struct pid_namespace *ns); | 1951 | struct pid_namespace *ns); |
1952 | 1952 | ||
1953 | extern void __set_special_pids(struct pid *pid); | ||
1954 | |||
1955 | /* per-UID process charging. */ | 1953 | /* per-UID process charging. */ |
1956 | extern struct user_struct * alloc_uid(kuid_t); | 1954 | extern struct user_struct * alloc_uid(kuid_t); |
1957 | static inline struct user_struct *get_uid(struct user_struct *u) | 1955 | static inline struct user_struct *get_uid(struct user_struct *u) |