public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] unexport find_task_by_*
@ 2007-10-24 16:24 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-10-24 16:24 UTC (permalink / raw)
  To: Pavel Emelyanov, Ingo Molnar; +Cc: linux-kernel

This patch removes the following unused EXPORT_SYMBOL's:
- find_task_by_pid_type_ns
- find_task_by_vpid
- find_task_by_pid_ns

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 kernel/pid.c |    4 ----
 1 file changed, 4 deletions(-)

65b4847eb3d64c037d8b418d7560b71a3065d304 
diff --git a/kernel/pid.c b/kernel/pid.c
index d1db36b..b09d7c9 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -378,8 +378,6 @@ struct task_struct *find_task_by_pid_type_ns(int type, int nr,
 	return pid_task(find_pid_ns(nr, ns), type);
 }
 
-EXPORT_SYMBOL(find_task_by_pid_type_ns);
-
 struct task_struct *find_task_by_pid(pid_t nr)
 {
 	return find_task_by_pid_type_ns(PIDTYPE_PID, nr, &init_pid_ns);
@@ -391,13 +389,11 @@ struct task_struct *find_task_by_vpid(pid_t vnr)
 	return find_task_by_pid_type_ns(PIDTYPE_PID, vnr,
 			current->nsproxy->pid_ns);
 }
-EXPORT_SYMBOL(find_task_by_vpid);
 
 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns)
 {
 	return find_task_by_pid_type_ns(PIDTYPE_PID, nr, ns);
 }
-EXPORT_SYMBOL(find_task_by_pid_ns);
 
 struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
 {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-24 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:24 [2.6 patch] unexport find_task_by_* Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox