diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-25 04:48:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:45 -0400 |
commit | 3ae4eed34be0177a8e003411a84e4ee212adbced (patch) | |
tree | dc73a9e0b884c35d996cd66dca0fc8a7a06d43df | |
parent | 4ecb90090c84210a8bd2a9d7a5906e616735873c (diff) |
proper pid{hash,map}_init() prototypes
This patch adds proper prototypes for pid{hash,map}_init() in
include/linux/pid_namespace.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/pid_namespace.h | 3 | ||||
-rw-r--r-- | init/main.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h index caff5283d15c..1a49ab5ec7b9 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) | |||
85 | return tsk->nsproxy->pid_ns->child_reaper; | 85 | return tsk->nsproxy->pid_ns->child_reaper; |
86 | } | 86 | } |
87 | 87 | ||
88 | void pidhash_init(void); | ||
89 | void pidmap_init(void); | ||
90 | |||
88 | #endif /* _LINUX_PID_NS_H */ | 91 | #endif /* _LINUX_PID_NS_H */ |
diff --git a/init/main.c b/init/main.c index 2769dc031c62..0604cbcaf1e4 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -87,8 +87,6 @@ extern void init_IRQ(void); | |||
87 | extern void fork_init(unsigned long); | 87 | extern void fork_init(unsigned long); |
88 | extern void mca_init(void); | 88 | extern void mca_init(void); |
89 | extern void sbus_init(void); | 89 | extern void sbus_init(void); |
90 | extern void pidhash_init(void); | ||
91 | extern void pidmap_init(void); | ||
92 | extern void prio_tree_init(void); | 90 | extern void prio_tree_init(void); |
93 | extern void radix_tree_init(void); | 91 | extern void radix_tree_init(void); |
94 | extern void free_initmem(void); | 92 | extern void free_initmem(void); |