aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/oprofile/op_model_bf533.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/blackfin/oprofile/op_model_bf533.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/oprofile/op_model_bf533.c b/arch/blackfin/oprofile/op_model_bf533.c
index d1c698bb9ee5..0e34df169b2d 100644
--- a/arch/blackfin/oprofile/op_model_bf533.c
+++ b/arch/blackfin/oprofile/op_model_bf533.c
@@ -52,7 +52,7 @@ static unsigned curr_pfctl, curr_count[2];
static int bfin533_reg_setup(struct op_counter_config *ctr)
{
- unsigned int pfctl = ctr_read();
+ unsigned int pfctl = 0;
unsigned int count[2];
/* set Blackfin perf monitor regs with ctr */
@@ -118,7 +118,7 @@ static int get_kernel(void)
return is_kernel;
}
-int pm_overflow_handler(int irq, struct pt_regs *regs)
+int pm_overflow_handler(struct pt_regs *regs)
{
int is_kernel;
int i, cpu;