aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pid.h')
-rw-r--r--include/linux/pid.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/pid.h b/include/linux/pid.h
index 4817c6671e77..e29a900a8499 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -110,9 +110,8 @@ extern struct pid_namespace init_pid_ns;
110 * see also find_task_by_pid() set in include/linux/sched.h 110 * see also find_task_by_pid() set in include/linux/sched.h
111 */ 111 */
112extern struct pid *FASTCALL(find_pid_ns(int nr, struct pid_namespace *ns)); 112extern struct pid *FASTCALL(find_pid_ns(int nr, struct pid_namespace *ns));
113 113extern struct pid *find_vpid(int nr);
114#define find_vpid(pid) find_pid_ns(pid, current->nsproxy->pid_ns) 114extern struct pid *find_pid(int nr);
115#define find_pid(pid) find_pid_ns(pid, &init_pid_ns)
116 115
117/* 116/*
118 * Lookup a PID in the hash table, and return with it's count elevated. 117 * Lookup a PID in the hash table, and return with it's count elevated.