Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204682
b: refs/heads/master
c: 2538c2d
h: refs/heads/master
v: v3
  • Loading branch information
K.Prasad authored and Paul Mackerras committed Jun 22, 2010
1 parent 7d9aa74 commit 975c192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 5aae8a53708025d4e718f0d2e7c2f766779ddc71
refs/heads/master: 2538c2d08f46141550a1e68819efa8fe31c6e3dc
8 changes: 3 additions & 5 deletions trunk/arch/powerpc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void RunModeException(struct pt_regs *regs)

void __kprobes single_step_exception(struct pt_regs *regs)
{
regs->msr &= ~(MSR_SE | MSR_BE); /* Turn off 'trace' bits */
clear_single_step(regs);

if (notify_die(DIE_SSTEP, "single_step", regs, 5,
5, SIGTRAP) == NOTIFY_STOP)
Expand All @@ -707,10 +707,8 @@ void __kprobes single_step_exception(struct pt_regs *regs)
*/
static void emulate_single_step(struct pt_regs *regs)
{
if (single_stepping(regs)) {
clear_single_step(regs);
_exception(SIGTRAP, regs, TRAP_TRACE, 0);
}
if (single_stepping(regs))
single_step_exception(regs);
}

static inline int __parse_fpscr(unsigned long fpscr)
Expand Down

0 comments on commit 975c192

Please sign in to comment.