summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-05-08 00:24:47 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:00 -0700
commit46595390e97b3ab2741a36f5ff69e8f6033fa9c0 (patch)
tree911fb1bd59ecf260999eca19fad4534f719894da /init
parentb2ead6e012e2b2ab31851c288e0dd7872884a8a3 (diff)
downloadlinux-46595390e97b3ab2741a36f5ff69e8f6033fa9c0.tar.gz
linux-46595390e97b3ab2741a36f5ff69e8f6033fa9c0.tar.bz2
linux-46595390e97b3ab2741a36f5ff69e8f6033fa9c0.zip
init/do_mounts.c: proper prepare_namespace() prototype
Add a proper protype for prepare_namespace() in include/linux/init.h. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c1
-rw-r--r--init/main.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index dc1ec0803ef9..3f57ed4599d6 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -9,6 +9,7 @@
#include <linux/delay.h>
#include <linux/mount.h>
#include <linux/device.h>
+#include <linux/init.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>
diff --git a/init/main.c b/init/main.c
index 0e22f40487bb..949c27b59d12 100644
--- a/init/main.c
+++ b/init/main.c
@@ -94,7 +94,6 @@ extern void pidmap_init(void);
extern void prio_tree_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
-extern void prepare_namespace(void);
#ifdef CONFIG_ACPI
extern void acpi_early_init(void);
#else