diff options
Diffstat (limited to 'kernel/pid.c')
-rw-r--r-- | kernel/pid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/pid.c b/kernel/pid.c index 39b65b69584f..02f221274265 100644 --- a/kernel/pid.c +++ b/kernel/pid.c | |||
@@ -435,6 +435,7 @@ struct pid *get_task_pid(struct task_struct *task, enum pid_type type) | |||
435 | rcu_read_unlock(); | 435 | rcu_read_unlock(); |
436 | return pid; | 436 | return pid; |
437 | } | 437 | } |
438 | EXPORT_SYMBOL_GPL(get_task_pid); | ||
438 | 439 | ||
439 | struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) | 440 | struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) |
440 | { | 441 | { |
@@ -446,6 +447,7 @@ struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) | |||
446 | rcu_read_unlock(); | 447 | rcu_read_unlock(); |
447 | return result; | 448 | return result; |
448 | } | 449 | } |
450 | EXPORT_SYMBOL_GPL(get_pid_task); | ||
449 | 451 | ||
450 | struct pid *find_get_pid(pid_t nr) | 452 | struct pid *find_get_pid(pid_t nr) |
451 | { | 453 | { |