[PATCH] [TRIVIAL] proc: misplaced export of find_get_pid

From: David Sterba
Date: Fri Jun 20 2008 - 09:29:50 EST


Move EXPORT_SYMBOL right after the func

Signed-off-by: David Sterba <dsterba@xxxxxxx>
---
kernel/pid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index 20d59fa..79d11dd 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -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
--
1.5.6.rc3.11.g5f54d

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/