Skip to contentSkip to conversation

printk : arch/ia64/kernel/smp.c

PATCH Christophe Lucas 1 participant 1 message Mar 23, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Domen Puncer

Review

Quoted 3 lines · Christophe Lucas
(quoted diff) +1 -1
 	if (cpuid == me) {
-		printk("%s: trying to call self\n", __FUNCTION__);
+		printk(KERN_WARNING "%s: trying to call self with info:%08x\n", __FUNCTION__, info);

Hmm... %p is supposed to be used for pointers, right?

Oh, sorry.

~Christophe

arch/ia64/kernel/smp.c +1 -1
diff -urpN -X dontdiff a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c
@@ -269,7 +269,7 @@ smp_call_function_single (int cpuid, voi
 	int me = get_cpu(); /* prevent preemption and reschedule on another processor */
 
 	if (cpuid == me) {
-		printk("%s: trying to call self\n", __FUNCTION__);
+		printk(KERN_WARNING "%s: trying to call self with info:%p\n", __FUNCTION__, info);
 		put_cpu();
 		return -EBUSY;
 	}

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