Skip to content

Commit

Permalink
proc: misplaced export of find_get_pid
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Sterba authored and Linus Torvalds committed Jul 25, 2008
1 parent 6eedf8d commit 339caf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 339caf2

Please sign in to comment.