Skip to contentSkip to conversation

proc: misplaced export of find_get_pid

PATCH New David Sterba 1 participant 1 message Jun 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc: misplaced export of find_get_pid

Move EXPORT_SYMBOL right after the func

---
 kernel/pid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/pid.c +1 -1
index 20d59fa..79d11dd 100644
@@ -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