Skip to content

Commit c84b51e

Browse files
Paul Gortmakerpmundt
authored andcommitted
sh: Fix conflicting definitions of ptrace_triggered
The extra nmi argument is causing this compile fail: CC arch/sh/kernel/ptrace_32.o arch/sh/kernel/ptrace_32.c:66:6: error: conflicting types for 'ptrace_triggered' arch/sh/include/asm/ptrace.h:126:13: note: previous declaration of 'ptrace_triggered' was here make[3]: *** [arch/sh/kernel/ptrace_32.o] Error 1 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 5beabc7 commit c84b51e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/include/asm/ptrace.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
123123
struct perf_event;
124124
struct perf_sample_data;
125125

126-
extern void ptrace_triggered(struct perf_event *bp, int nmi,
126+
extern void ptrace_triggered(struct perf_event *bp,
127127
struct perf_sample_data *data, struct pt_regs *regs);
128128

129129
#define task_pt_regs(task) \

0 commit comments

Comments
 (0)