[2.6 patch] unexport find_task_by_*

From: Adrian Bunk
Date: Wed Oct 24 2007 - 12:32:58 EST


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@xxxxxxxxxx>

---

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)
{

-
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/