summaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile
diff options
context:
space:
mode:
authorRalf Baechle2006-04-24 11:50:02 +0200
committerRalf Baechle2006-04-27 16:13:49 +0200
commit5dac83030a3f4a3a4d1255b13bd0f7d08e824963 (patch)
tree88840c71182068d8096943e759ca8e5d6aae210b /arch/mips/oprofile
parent[MIPS] Fix oprofile module unloading (diff)
downloadkernel-qcow2-linux-5dac83030a3f4a3a4d1255b13bd0f7d08e824963.tar.gz
kernel-qcow2-linux-5dac83030a3f4a3a4d1255b13bd0f7d08e824963.tar.xz
kernel-qcow2-linux-5dac83030a3f4a3a4d1255b13bd0f7d08e824963.zip
[MIPS] Oprofile: fix sparse warning.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/oprofile')
-rw-r--r--arch/mips/oprofile/common.c2
1 files changed, 1 insertions, 1 deletions
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;
}