[lkml]   [2006]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 4/7] 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 <>
    kernel/pid.c | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/kernel/pid.c b/kernel/pid.c
    index a7ca901..40e8e4d 100644
    --- a/kernel/pid.c
    +++ b/kernel/pid.c
    @@ -153,6 +153,7 @@ fastcall void put_pid(struct pid *pid)
    kmem_cache_free(pid_cachep, pid);

    static void delayed_put_pid(struct rcu_head *rhp)
    @@ -218,6 +219,7 @@ struct pid * fastcall find_pid(int nr)
    return NULL;

    int fastcall attach_pid(struct task_struct *task, enum pid_type type, int nr)
    @@ -302,6 +304,7 @@ struct pid *find_get_pid(pid_t nr)

    return pid;

    * The pid hash table is scaled according to the amount of memory in the
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-15 20:27    [W:0.034 / U:324.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site