x86_64: be less annoying on boot, v2
authordcg <diegocg@gmail.com>
Sun, 28 Sep 2008 16:49:46 +0000 (18:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Sep 2008 08:04:53 +0000 (10:04 +0200)
Honour "quiet" boot parameter in early_printk() calls

Signed-off-by: Diego Calleja <diegocg@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head64.c

index 11aa501c9f4fa80e4121512d8aa341c0fa046c09..d16084f90649181e6e944e104118f7ec5de6a0e3 100644 (file)
@@ -108,7 +108,8 @@ void __init x86_64_start_kernel(char * real_mode_data)
        }
        load_idt((const struct desc_ptr *)&idt_descr);
 
-       early_printk("Kernel alive\n");
+       if (console_loglevel == 10)
+               early_printk("Kernel alive\n");
 
        x86_64_init_pda();