Skip to contentSkip to conversation

perf, powerpc: Fix build borkage

tip:perf/core tip-bot for Peter Zijlstra 1 participant 1 message Jul 1, 2011 PowerPC

lore
Share & tools
lore
#0 lore raw
Commit-ID:  29dfc4fd7e792854b30d771d4e299fbdd2adb763
Gitweb:     http://git.kernel.org/tip/29dfc4fd7e792854b30d771d4e299fbdd2adb763
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Fri, 1 Jul 2011 15:24:53 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 1 Jul 2011 16:20:04 +0200

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.

---
 arch/powerpc/include/asm/hw_breakpoint.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/include/asm/hw_breakpoint.h +1 -1
index 1c33ec1..80fd4d2 100644
@@ -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)
 {