瀏覽代碼

[MIPS] Oprofile: fix sparse warning.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 年之前
父節點
當前提交
5dac83030a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/oprofile/common.c

+ 1 - 1
arch/mips/oprofile/common.c

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