Linux MIPS Architecture development
 help / color / mirror / Atom feed
* fix warning message on SMP kernels
@ 2008-05-06 10:21 Thiemo Seufer
  2008-05-06 21:29 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2008-05-06 10:21 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

This patch fixes a (harmless) warning message.


Signed-off-by: Thiemo Seufer <ths@networkno.de>

Index: linux.git/arch/mips/kernel/smp.c
===================================================================
--- linux.git.orig/arch/mips/kernel/smp.c	2008-05-06 11:06:07.000000000 +0100
+++ linux.git/arch/mips/kernel/smp.c	2008-05-06 11:15:02.000000000 +0100
@@ -87,8 +87,8 @@
 
 __cpuinit void register_smp_ops(struct plat_smp_ops *ops)
 {
-	if (ops)
-		printk(KERN_WARNING "Overriding previous set SMP ops\n");
+	if (mp_ops)
+		printk(KERN_WARNING "Overriding previously set SMP ops\n");
 
 	mp_ops = ops;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-06 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 10:21 fix warning message on SMP kernels Thiemo Seufer
2008-05-06 21:29 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox