Commit 46595390 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

init/do_mounts.c: proper prepare_namespace() prototype

Add a proper protype for prepare_namespace() in include/linux/init.h.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b2ead6e0
...@@ -77,7 +77,8 @@ extern char *saved_command_line; ...@@ -77,7 +77,8 @@ extern char *saved_command_line;
extern unsigned int reset_devices; extern unsigned int reset_devices;
/* used by init/main.c */ /* used by init/main.c */
extern void setup_arch(char **); void setup_arch(char **);
void prepare_namespace(void);
#endif #endif
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/init.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h> #include <linux/nfs_fs_sb.h>
......
...@@ -94,7 +94,6 @@ extern void pidmap_init(void); ...@@ -94,7 +94,6 @@ extern void pidmap_init(void);
extern void prio_tree_init(void); extern void prio_tree_init(void);
extern void radix_tree_init(void); extern void radix_tree_init(void);
extern void free_initmem(void); extern void free_initmem(void);
extern void prepare_namespace(void);
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
extern void acpi_early_init(void); extern void acpi_early_init(void);
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment