Procházet zdrojové kódy

[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 před 19 roky
rodič
revize
5dac83030a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
 	model->reg_setup(ctr);
 
 
 	/* Configure the registers on all cpus.  */
 	/* 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;
         return 0;
 }
 }