Ver Fonte

x86_64: be less annoying on boot, v2

Honour "quiet" boot parameter in early_printk() calls

Signed-off-by: Diego Calleja <diegocg@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
dcg há 17 anos atrás
pai
commit
12544697f1
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      arch/x86/kernel/head64.c

+ 2 - 1
arch/x86/kernel/head64.c

@@ -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();