From: Thiemo Seufer Date: Tue, 6 May 2008 10:21:22 +0000 (+0100) Subject: [MIPS] fix warning message on SMP kernels X-Git-Tag: v2.6.26-rc3~131^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=83738e307365aa2de4a1be65ed574aaebce52ea0;p=linux-2.6-omap-h63xx.git [MIPS] fix warning message on SMP kernels This patch fixes a (harmless) warning message. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c index 33780cc61ce..63370cdd3c9 100644 --- a/arch/mips/kernel/smp.c +++ b/arch/mips/kernel/smp.c @@ -87,8 +87,8 @@ struct plat_smp_ops *mp_ops; __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; }