All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] printk : arch/arm/kernel/smp.c
@ 2006-01-26 11:45 Christophe Lucas
  0 siblings, 0 replies; only message in thread
From: Christophe Lucas @ 2006-01-26 11:45 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

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

Signed-off-by: Christophe Lucas <clucas@rotomalug.org>


Index: linux-2.6.15/arch/arm/kernel/smp.c
===================================================================
--- linux-2.6.15.orig/arch/arm/kernel/smp.c	2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6.15/arch/arm/kernel/smp.c	2006-01-18 14:17:47.000000000 +0100
@@ -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

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-26 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-26 11:45 [KJ] [PATCH] printk : arch/arm/kernel/smp.c Christophe Lucas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.