aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/main.c8
-rw-r--r--init/version.c5
2 files changed, 7 insertions, 6 deletions
diff --git a/init/main.c b/init/main.c
index 036f97c0c34c..fcd9ddc3ccf5 100644
--- a/init/main.c
+++ b/init/main.c
@@ -483,6 +483,12 @@ void __init __attribute__((weak)) smp_setup_processor_id(void)
483{ 483{
484} 484}
485 485
486static const char linux_banner[] =
487 "Linux version " UTS_RELEASE
488 " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")"
489 " (" LINUX_COMPILER ")"
490 " " UTS_VERSION "\n";
491
486asmlinkage void __init start_kernel(void) 492asmlinkage void __init start_kernel(void)
487{ 493{
488 char * command_line; 494 char * command_line;
@@ -509,7 +515,7 @@ asmlinkage void __init start_kernel(void)
509 boot_cpu_init(); 515 boot_cpu_init();
510 page_address_init(); 516 page_address_init();
511 printk(KERN_NOTICE); 517 printk(KERN_NOTICE);
512 printk(linux_banner, UTS_RELEASE, UTS_VERSION); 518 printk(linux_banner);
513 setup_arch(&command_line); 519 setup_arch(&command_line);
514 unwind_setup(); 520 unwind_setup();
515 setup_per_cpu_areas(); 521 setup_per_cpu_areas();
diff --git a/init/version.c b/init/version.c
index 2a5dfcd1c2e6..9d96d36501ca 100644
--- a/init/version.c
+++ b/init/version.c
@@ -33,8 +33,3 @@ struct uts_namespace init_uts_ns = {
33 }, 33 },
34}; 34};
35EXPORT_SYMBOL_GPL(init_uts_ns); 35EXPORT_SYMBOL_GPL(init_uts_ns);
36
37const char linux_banner[] =
38 "Linux version %s (" LINUX_COMPILE_BY "@"
39 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") %s\n";
40