proc: misplaced export of find_get_pid
PATCH 1/1 proc: misplaced export of find_get_pid
Move EXPORT_SYMBOL right after the func
Signed-off-by David Sterba <[email protected]>
--- kernel/pid.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/pid.c +1 -1
@@ -434,6 +434,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) {
@@ -496,7 +497,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
Signature · 1 line
1.5.6.rc3.11.g5f54d