[MIPS] Oprofile: fix sparse warning.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 24 Apr 2006 09:50:02 +0000 (10:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Apr 2006 14:13:49 +0000 (15:13 +0100)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/common.c

index 49ef8fd338d62984d1f97066286b03e9b6c17df1..f2b4862aaae505fbcb8e902214633b6078d64fe4 100644 (file)
@@ -27,7 +27,7 @@ static int op_mips_setup(void)
        model->reg_setup(ctr);
 
        /* Configure the registers on all cpus.  */
-       on_each_cpu(model->cpu_setup, 0, 0, 1);
+       on_each_cpu(model->cpu_setup, NULL, 0, 1);
 
         return 0;
 }