提交 339caf2a 编写于 作者: D David Sterba 提交者: Linus Torvalds

proc: misplaced export of find_get_pid

Move EXPORT_SYMBOL right after the func
Signed-off-by: NDavid Sterba <dsterba@suse.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 6eedf8d3
...@@ -435,6 +435,7 @@ struct pid *find_get_pid(pid_t nr) ...@@ -435,6 +435,7 @@ struct pid *find_get_pid(pid_t nr)
return pid; return pid;
} }
EXPORT_SYMBOL_GPL(find_get_pid);
pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) 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) ...@@ -497,7 +498,6 @@ struct pid *find_ge_pid(int nr, struct pid_namespace *ns)
return pid; return pid;
} }
EXPORT_SYMBOL_GPL(find_get_pid);
/* /*
* The pid hash table is scaled according to the amount of memory in the * The pid hash table is scaled according to the amount of memory in the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册