perf, powerpc: Fix build borkage
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 1 Jul 2011 13:24:53 +0000 (15:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 14:20:04 +0000 (16:20 +0200)
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>
arch/powerpc/include/asm/hw_breakpoint.h

index 1c33ec17ca36da7e086163252425efe939fa0a07..80fd4d2b4a62ca6e46849703b6ff812a1b50575c 100644 (file)
@@ -57,7 +57,7 @@ void hw_breakpoint_pmu_read(struct perf_event *bp);
 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk);
 
 extern struct pmu perf_ops_bp;
-extern void ptrace_triggered(struct perf_event *bp, int nmi,
+extern void ptrace_triggered(struct perf_event *bp,
                        struct perf_sample_data *data, struct pt_regs *regs);
 static inline void hw_breakpoint_disable(void)
 {