diff options
Diffstat (limited to 'arch/powerpc/oprofile/op_model_power4.c')
-rw-r--r-- | arch/powerpc/oprofile/op_model_power4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/oprofile/op_model_power4.c b/arch/powerpc/oprofile/op_model_power4.c index 4b06e53eb9b4..38db2efef3bc 100644 --- a/arch/powerpc/oprofile/op_model_power4.c +++ b/arch/powerpc/oprofile/op_model_power4.c | |||
@@ -293,7 +293,7 @@ static void power4_handle_interrupt(struct pt_regs *regs, | |||
293 | val = ctr_read(i); | 293 | val = ctr_read(i); |
294 | if (val < 0) { | 294 | if (val < 0) { |
295 | if (oprofile_running && ctr[i].enabled) { | 295 | if (oprofile_running && ctr[i].enabled) { |
296 | oprofile_add_pc(pc, is_kernel, i); | 296 | oprofile_add_ext_sample(pc, regs, i, is_kernel); |
297 | ctr_write(i, reset_value[i]); | 297 | ctr_write(i, reset_value[i]); |
298 | } else { | 298 | } else { |
299 | ctr_write(i, 0); | 299 | ctr_write(i, 0); |