[MIPS] fix warning message on SMP kernels

This patch fixes a (harmless) warning message.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Thiemo Seufer 2008-05-06 11:21:22 +01:00 committed by Ralf Baechle
parent b01273f120
commit 83738e3073

View File

@ -87,8 +87,8 @@ struct plat_smp_ops *mp_ops;
__cpuinit void register_smp_ops(struct plat_smp_ops *ops) __cpuinit void register_smp_ops(struct plat_smp_ops *ops)
{ {
if (ops) if (mp_ops)
printk(KERN_WARNING "Overriding previous set SMP ops\n"); printk(KERN_WARNING "Overriding previously set SMP ops\n");
mp_ops = ops; mp_ops = ops;
} }