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: https://git.karo-electronics.de/?a=commitdiff_plain;h=5dac83030a3f4a3a4d1255b13bd0f7d08e824963;p=karo-tx-linux.git [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 49ef8fd338d6..f2b4862aaae5 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; }