Explorar el Código

trivial: add missing printk loglevel in start_kernel

Add missing printk loglevel in start_kernel

Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Ron Lee hace 16 años
padre
commit
24d431d06a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      init/main.c

+ 2 - 1
init/main.c

@@ -602,7 +602,8 @@ asmlinkage void __init start_kernel(void)
 	sched_clock_init();
 	sched_clock_init();
 	profile_init();
 	profile_init();
 	if (!irqs_disabled())
 	if (!irqs_disabled())
-		printk("start_kernel(): bug: interrupts were enabled early\n");
+		printk(KERN_CRIT "start_kernel(): bug: interrupts were "
+				 "enabled early\n");
 	early_boot_irqs_on();
 	early_boot_irqs_on();
 	local_irq_enable();
 	local_irq_enable();