Skip to contentSkip to conversation

printk : arch/arm/kernel/smp.c

PATCH New Christophe Lucas 1 participant 1 message Jan 26, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 printk : arch/arm/kernel/smp.c

Description:
printk should include appropriate KERN_* constant (of course only at beginning of lines).

arch/arm/kernel/smp.c +2 -2
Index: linux-2.6.15/arch/arm/kernel/smp.c
===================================================================
@@ -213,7 +213,7 @@
 void __cpuexit __cpu_die(unsigned int cpu)
 {
 	if (!platform_cpu_kill(cpu))
-		printk("CPU%u: unable to kill\n", cpu);
+		printk(KERN_WARNING "CPU%u: unable to kill\n", cpu);
 }
 
 /*
@@ -258,7 +258,7 @@
 	struct mm_struct *mm = &init_mm;
 	unsigned int cpu = smp_processor_id();
 
-	printk("CPU%u: Booted secondary processor\n", cpu);
+	printk(KERN_INFO "CPU%u: Booted secondary processor\n", cpu);
 
 	/*
 	 * All kernel threads share the same mm context; grab a

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors