OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eedf8d
)
proc: misplaced export of find_get_pid
author
David Sterba
<dsterba@suse.cz>
Fri, 25 Jul 2008 08:48:31 +0000
(
01:48
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:45 +0000
(10:53 -0700)
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>
kernel/pid.c
patch
|
blob
|
history
diff --git
a/kernel/pid.c
b/kernel/pid.c
index
30bd5d4
..
753fd90
100644
(file)
--- 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