From: Adrian Bunk Date: Tue, 8 May 2007 07:24:47 +0000 (-0700) Subject: init/do_mounts.c: proper prepare_namespace() prototype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46595390e97b3ab2741a36f5ff69e8f6033fa9c0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/init.h b/include/linux/init.h index dbbdbd1bec77..8bc32bb2fce2 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -77,7 +77,8 @@ extern char *saved_command_line; extern unsigned int reset_devices; /* used by init/main.c */ -extern void setup_arch(char **); +void setup_arch(char **); +void prepare_namespace(void); #endif 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 #include #include +#include #include #include 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