aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2008-07-25 04:48:31 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 13:53:45 -0400
commit339caf2a224fc9af0f01686bf287dda32c6efca6 (patch)
treec7d016474620b40913b89c610d733a36ac81a647 /kernel/pid.c
parent6eedf8d30d2b48e86fbcee1a32fb2fa5f42219ee (diff)
proc: misplaced export of find_get_pid
Move EXPORT_SYMBOL right after the func Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/pid.c')
-rw-r--r--kernel/pid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index 30bd5d4b2ac7..753fd90d9ec1 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -435,6 +435,7 @@ struct pid *find_get_pid(pid_t nr)
435 435
436 return pid; 436 return pid;
437} 437}
438EXPORT_SYMBOL_GPL(find_get_pid);
438 439
439pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) 440pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns)
440{ 441{
@@ -497,7 +498,6 @@ struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
497 498
498 return pid; 499 return pid;
499} 500}
500EXPORT_SYMBOL_GPL(find_get_pid);
501 501
502/* 502/*
503 * The pid hash table is scaled according to the amount of memory in the 503 * The pid hash table is scaled according to the amount of memory in the