From: Adrian Bunk <bunk@kernel.org>
To: Pavel Emelyanov <xemul@openvz.org>, Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] unexport find_task_by_*
Date: Wed, 24 Oct 2007 18:24:14 +0200 [thread overview]
Message-ID: <20071024162414.GF30533@stusta.de> (raw)
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)
{
reply other threads:[~2007-10-24 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071024162414.GF30533@stusta.de \
--to=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.