x86/boot/64: Remove pointless early_printk() message
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 17 Mar 2015 13:00:05 +0000 (19:00 +0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Mar 2015 13:03:04 +0000 (14:03 +0100)
earlyprintk is not initialised yet by the setup_early_printk() function
so we can remove it.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1426597205-5142-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/head64.c

index eda1a865641e2e86f01961265619ab0484b96631..8c58135b0fa4f459873aaae80acb60f404661b38 100644 (file)
@@ -172,9 +172,6 @@ asmlinkage __visible void __init x86_64_start_kernel(char * real_mode_data)
         */
        load_ucode_bsp();
 
-       if (console_loglevel >= CONSOLE_LOGLEVEL_DEBUG)
-               early_printk("Kernel alive\n");
-
        clear_page(init_level4_pgt);
        /* set init_level4_pgt kernel high mapping*/
        init_level4_pgt[511] = early_level4_pgt[511];