Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116105
b: refs/heads/master
c: 174b5c9
h: refs/heads/master
i:
  116103: 661e04d
v: v3
  • Loading branch information
Paul Mundt committed Sep 8, 2008
1 parent b82bbb6 commit 4c37711
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 037c10a612e8b7461e33672fb3848807ac6e2346
refs/heads/master: 174b5c9923e0170c844e03d55a9f3fb3b329a8b7
2 changes: 1 addition & 1 deletion trunk/arch/sh/include/asm/kprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c37711

Please sign in to comment.