aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-10-02 02:17:11 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 07:57:13 -0700
commitbbf73147e2d46611fbdcbc126f887c614c32350b (patch)
tree1d396e49bab0d19f6712b9a82e939dacce447261 /kernel
parentc4b92fc112f7be5cce308128236ff75cc98535c3 (diff)
downloadkernel_goldelico_gta04-bbf73147e2d46611fbdcbc126f887c614c32350b.zip
kernel_goldelico_gta04-bbf73147e2d46611fbdcbc126f887c614c32350b.tar.gz
kernel_goldelico_gta04-bbf73147e2d46611fbdcbc126f887c614c32350b.tar.bz2
[PATCH] pid: export the symbols needed to use struct pid *
pids aren't something that drivers should care about. However there are a lot of helper layers in the kernel that do care, and are built as modules. Before I can convert them to using struct pid instead of pid_t I need to export the appropriate symbols so they can continue to be built. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/pid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index ed89a73..5c9037b 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -170,6 +170,7 @@ fastcall void put_pid(struct pid *pid)
atomic_dec_and_test(&pid->count))
kmem_cache_free(pid_cachep, pid);
}
+EXPORT_SYMBOL_GPL(put_pid);
static void delayed_put_pid(struct rcu_head *rhp)
{
@@ -234,6 +235,7 @@ struct pid * fastcall find_pid(int nr)
}
return NULL;
}
+EXPORT_SYMBOL_GPL(find_pid);
int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr)
{
@@ -337,6 +339,7 @@ struct pid *find_ge_pid(int nr)
return pid;
}
+EXPORT_SYMBOL_GPL(find_get_pid);
/*
* The pid hash table is scaled according to the amount of memory in the