linux-mips
[Top] [All Lists]

fix warning message on SMP kernels

To: linux-mips@linux-mips.org
Subject: fix warning message on SMP kernels
From: Thiemo Seufer <ths@networkno.de>
Date: Tue, 6 May 2008 11:21:22 +0100
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
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;
 }

<Prev in Thread] Current Thread [Next in Thread>