summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-24 11:50:02 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-04-27 16:13:49 +0200
commit5dac83030a3f4a3a4d1255b13bd0f7d08e824963 (patch)
tree88840c71182068d8096943e759ca8e5d6aae210b
parent[MIPS] Fix oprofile module unloading (diff)
downloadlinux-5dac83030a3f4a3a4d1255b13bd0f7d08e824963.tar.xz
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>
-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;
}