diff options
author | Michael Neuling <mikey@neuling.org> | 2012-09-05 15:17:48 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-06 21:44:39 -0400 |
commit | 3f4693eeeae45e9253031633adb0c7fde13a5026 (patch) | |
tree | 65221cf703f933108e3af3bcc034d0cfd62f5050 | |
parent | ab046a937629172d5da2bbf4867d89507280759f (diff) |
powerpc: Use consistent name info for arch_hw_breakpoint
Change bp_info to info to be consistent with the rest of this file.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/kernel/hw_breakpoint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/hw_breakpoint.c b/arch/powerpc/kernel/hw_breakpoint.c index 956a4c496de9..6767445ecb45 100644 --- a/arch/powerpc/kernel/hw_breakpoint.c +++ b/arch/powerpc/kernel/hw_breakpoint.c | |||
@@ -294,7 +294,7 @@ int __kprobes single_step_dabr_instruction(struct die_args *args) | |||
294 | { | 294 | { |
295 | struct pt_regs *regs = args->regs; | 295 | struct pt_regs *regs = args->regs; |
296 | struct perf_event *bp = NULL; | 296 | struct perf_event *bp = NULL; |
297 | struct arch_hw_breakpoint *bp_info; | 297 | struct arch_hw_breakpoint *info; |
298 | 298 | ||
299 | bp = current->thread.last_hit_ubp; | 299 | bp = current->thread.last_hit_ubp; |
300 | /* | 300 | /* |
@@ -304,16 +304,16 @@ int __kprobes single_step_dabr_instruction(struct die_args *args) | |||
304 | if (!bp) | 304 | if (!bp) |
305 | return NOTIFY_DONE; | 305 | return NOTIFY_DONE; |
306 | 306 | ||
307 | bp_info = counter_arch_bp(bp); | 307 | info = counter_arch_bp(bp); |
308 | 308 | ||
309 | /* | 309 | /* |
310 | * We shall invoke the user-defined callback function in the single | 310 | * We shall invoke the user-defined callback function in the single |
311 | * stepping handler to confirm to 'trigger-after-execute' semantics | 311 | * stepping handler to confirm to 'trigger-after-execute' semantics |
312 | */ | 312 | */ |
313 | if (!bp_info->extraneous_interrupt) | 313 | if (!info->extraneous_interrupt) |
314 | perf_bp_event(bp, regs); | 314 | perf_bp_event(bp, regs); |
315 | 315 | ||
316 | set_dabr(bp_info->address | bp_info->type | DABR_TRANSLATION); | 316 | set_dabr(info->address | info->type | DABR_TRANSLATION); |
317 | current->thread.last_hit_ubp = NULL; | 317 | current->thread.last_hit_ubp = NULL; |
318 | 318 | ||
319 | /* | 319 | /* |