From: Ralf Baechle Date: Mon, 24 Apr 2006 09:50:02 +0000 (+0100) Subject: [MIPS] Oprofile: fix sparse warning. X-Git-Tag: v2.6.17-rc4~139^2~10 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=5dac83030a3f4a3a4d1255b13bd0f7d08e824963;p=safe%2Fjmp%2Flinux-2.6 [MIPS] Oprofile: fix sparse warning. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index 49ef8fd..f2b4862 100644 --- a/arch/mips/oprofile/common.c +++ b/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; }