fix warning message on SMP kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes a (harmless) warning message.


Signed-off-by: Thiemo Seufer <ths@xxxxxxxxxxxx>

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;
 }


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux