[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1213968580-26873-1-git-send-email-dsterba@suse.cz>
Date: Fri, 20 Jun 2008 15:29:40 +0200
From: David Sterba <dsterba@...e.cz>
To: trivial@...nel.org
Cc: linux-kernel@...r.kernel.org, David Sterba <dsterba@...e.cz>
Subject: [PATCH] [TRIVIAL] proc: misplaced export of find_get_pid
Move EXPORT_SYMBOL right after the func
Signed-off-by: David Sterba <dsterba@...e.cz>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists