projects/linux·commit 339caf2a

proc: misplaced export of find_get_pid

339caf2a · David Sterba <[email protected]> · 2008-07-25 01:48:31 -07:00

Move EXPORT_SYMBOL right after the func

Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
339caf2a224fc9af0f01686bf287dda32c6efca6
Parents
6eedf8d3

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/pid.cmodified+1−1View file

kernel/pid.c

View file
diff --git a/kernel/pid.c b/kernel/pid.c
index 30bd5d4..753fd90 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -435,6 +435,7 @@ struct pid *find_get_pid(pid_t nr)
return pid;
}
+EXPORT_SYMBOL_GPL(find_get_pid);
pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns)
{
@@ -497,7 +498,6 @@ struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
return pid;
}
-EXPORT_SYMBOL_GPL(find_get_pid);
/*
* The pid hash table is scaled according to the amount of memory in the