@@ -36,7 +36,7 @@ __setup("noinitrd", no_initrd);
static int __init do_linuxrc(void *_shell)
{
static const char *argv[] = { "linuxrc", NULL, };
- extern const char *envp_init[];
+ extern __visible const char *envp_init[];
const char *shell = _shell;
sys_close(old_fd);sys_close(root_fd);
@@ -493,8 +493,8 @@ static int __init retain_initrd_param(char *str)
}
__setup("retain_initrd", retain_initrd_param);
-extern char __initramfs_start[];
-extern unsigned long __initramfs_size;
+extern __visible char __initramfs_start[];
+extern __visible unsigned long __initramfs_size;
#include <linux/initrd.h>
#include <linux/kexec.h>
@@ -470,7 +470,7 @@ static void __init mm_init(void)
asmlinkage void __init start_kernel(void)
{
char * command_line;
- extern const struct kernel_param __start___param[], __stop___param[];
+ extern __visible const struct kernel_param __start___param[], __stop___param[];
/*
* Need to run as early as possible, to initialize the