aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/pid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index ed89a732432c..5c9037ba42f5 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -170,6 +170,7 @@ fastcall void put_pid(struct pid *pid)
170 atomic_dec_and_test(&pid->count)) 170 atomic_dec_and_test(&pid->count))
171 kmem_cache_free(pid_cachep, pid); 171 kmem_cache_free(pid_cachep, pid);
172} 172}
173EXPORT_SYMBOL_GPL(put_pid);
173 174
174static void delayed_put_pid(struct rcu_head *rhp) 175static void delayed_put_pid(struct rcu_head *rhp)
175{ 176{
@@ -234,6 +235,7 @@ struct pid * fastcall find_pid(int nr)
234 } 235 }
235 return NULL; 236 return NULL;
236} 237}
238EXPORT_SYMBOL_GPL(find_pid);
237 239
238int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr) 240int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr)
239{ 241{
@@ -337,6 +339,7 @@ struct pid *find_ge_pid(int nr)
337 339
338 return pid; 340 return pid;
339} 341}
342EXPORT_SYMBOL_GPL(find_get_pid);
340 343
341/* 344/*
342 * The pid hash table is scaled according to the amount of memory in the 345 * The pid hash table is scaled according to the amount of memory in the