Commit 29dfc4fd7e792854b30d771d4e299fbdd2adb763

Authored by Peter Zijlstra
Committed by Ingo Molnar
1 parent 3ae9a34d74

perf, powerpc: Fix build borkage

The patch a8b0ca17b80e ("perf: Remove the nmi parameter from the swevent
and overflow interface") missed a spot in the ppc hw_breakpoint code,
fix this up so things compile again.

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Anton Blanchard <anton@samba.org>
Cc: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-09pfip95g88s70iwkxu6nnbt@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/powerpc/include/asm/hw_breakpoint.h
... ... @@ -57,7 +57,7 @@
57 57 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk);
58 58  
59 59 extern struct pmu perf_ops_bp;
60   -extern void ptrace_triggered(struct perf_event *bp, int nmi,
  60 +extern void ptrace_triggered(struct perf_event *bp,
61 61 struct perf_sample_data *data, struct pt_regs *regs);
62 62 static inline void hw_breakpoint_disable(void)
63 63 {