Loading arch/sh/include/asm/kprobes.h +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/ptrace.h> typedef u16 kprobe_opcode_t; #define BREAKPOINT_INSTRUCTION 0xc3ff #define BREAKPOINT_INSTRUCTION 0xc33a #define MAX_INSN_SIZE 16 #define MAX_STACK_SIZE 64 Loading arch/sh/kernel/kprobes.c +1 −2 Original line number Diff line number Diff line Loading @@ -525,8 +525,7 @@ int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) void __kprobes jprobe_return(void) { __asm("trapa #-1\n\t" "jprobe_return_end:\n\t" "nop\n\t"); asm volatile ("trapa #0x3a\n\t" "jprobe_return_end:\n\t" "nop\n\t"); } int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) Loading Loading
arch/sh/include/asm/kprobes.h +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ #include <linux/ptrace.h> typedef u16 kprobe_opcode_t; #define BREAKPOINT_INSTRUCTION 0xc3ff #define BREAKPOINT_INSTRUCTION 0xc33a #define MAX_INSN_SIZE 16 #define MAX_STACK_SIZE 64 Loading
arch/sh/kernel/kprobes.c +1 −2 Original line number Diff line number Diff line Loading @@ -525,8 +525,7 @@ int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) void __kprobes jprobe_return(void) { __asm("trapa #-1\n\t" "jprobe_return_end:\n\t" "nop\n\t"); asm volatile ("trapa #0x3a\n\t" "jprobe_return_end:\n\t" "nop\n\t"); } int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) Loading