aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-05-09 09:39:44 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-06-26 11:24:38 +0200
commit15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d (patch)
tree3658f893c2f89ea0be4c6cc08aa11fa54476d0f4 /arch/mips/oprofile
parent8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (diff)
downloadkernel_samsung_crespo-15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d.zip
kernel_samsung_crespo-15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d.tar.gz
kernel_samsung_crespo-15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d.tar.bz2
on_each_cpu(): kill unused 'retry' parameter
It's not even passed on to smp_call_function() anymore, since that was removed. So kill it. Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/mips/oprofile')
-rw-r--r--arch/mips/oprofile/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c
index b5f6f71..dd2fbd6 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, NULL, 0, 1);
+ on_each_cpu(model->cpu_setup, NULL, 1);
return 0;
}
@@ -58,7 +58,7 @@ static int op_mips_create_files(struct super_block * sb, struct dentry * root)
static int op_mips_start(void)
{
- on_each_cpu(model->cpu_start, NULL, 0, 1);
+ on_each_cpu(model->cpu_start, NULL, 1);
return 0;
}
@@ -66,7 +66,7 @@ static int op_mips_start(void)
static void op_mips_stop(void)
{
/* Disable performance monitoring for all counters. */
- on_each_cpu(model->cpu_stop, NULL, 0, 1);
+ on_each_cpu(model->cpu_stop, NULL, 1);
}
int __init oprofile_arch_init(struct oprofile_operations *ops)