Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1911
b: refs/heads/master
c: f829fd2
h: refs/heads/master
i:
  1909: d2b825c
  1907: 23ac090
  1903: 1830a35
v: v3
  • Loading branch information
Ananth N Mavinakayanahalli authored and Linus Torvalds committed Jun 8, 2005
1 parent a2fe9b8 commit 3176cf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 63224d1e8b4cf87cc7420201a8cb3b44b9bf0b40
refs/heads/master: f829fd23c87918374bac0d90404fe12f0e788d52
3 changes: 1 addition & 2 deletions trunk/arch/ppc64/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ static void resume_execution(struct kprobe *p, struct pt_regs *regs)
ret = emulate_step(regs, p->ainsn.insn[0]);
if (ret == 0)
regs->nip = (unsigned long)p->addr + 4;

regs->msr &= ~MSR_SE;
}

static inline int post_kprobe_handler(struct pt_regs *regs)
Expand Down Expand Up @@ -215,6 +213,7 @@ static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr)

if (kprobe_status & KPROBE_HIT_SS) {
resume_execution(current_kprobe, regs);
regs->msr &= ~MSR_SE;
regs->msr |= kprobe_saved_msr;

unlock_kprobes();
Expand Down

0 comments on commit 3176cf6

Please sign in to comment.