LKML Archive on
help / color / mirror / Atom feed
From: Adrian Bunk <>
Subject: [2.6 patch] proper pid{hash,map}_init() prototypes
Date: Fri, 22 Feb 2008 21:58:23 +0200	[thread overview]
Message-ID: <> (raw)

This patch adds proper prototypes for pid{hash,map}_init() in 

Signed-off-by: Adrian Bunk <>


 include/linux/pid_namespace.h |    3 +++
 init/main.c                   |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

279d377cacc55d031230ed98370726dbd8c82602 diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h
index fcd61fa..2ce9521 100644
--- a/include/linux/pid_namespace.h
+++ b/include/linux/pid_namespace.h
@@ -85,4 +85,7 @@ static inline struct task_struct *task_child_reaper(struct task_struct *tsk)
 	return tsk->nsproxy->pid_ns->child_reaper;
+void pidhash_init(void);
+void pidmap_init(void);
 #endif /* _LINUX_PID_NS_H */
diff --git a/init/main.c b/init/main.c
index 7dd9916..696e5f1 100644
--- a/init/main.c
+++ b/init/main.c
@@ -84,8 +84,6 @@ extern void init_IRQ(void);
 extern void fork_init(unsigned long);
 extern void mca_init(void);
 extern void sbus_init(void);
-extern void pidhash_init(void);
-extern void pidmap_init(void);
 extern void prio_tree_init(void);
 extern void radix_tree_init(void);
 extern void free_initmem(void);

             reply	other threads:[~2008-02-22 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 19:58 Adrian Bunk [this message]
2008-03-30 22:40 [2.6 patch] proper pid{hash,map}_init() prototypes Adrian Bunk
2008-04-14 18:13 Adrian Bunk
2008-04-21 21:32 Adrian Bunk
2008-05-05 18:26 Adrian Bunk

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).