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>
This commit is contained in:
parent
6eedf8d30d
commit
339caf2a22
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue