Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275549
b: refs/heads/master
c: b95bc21
h: refs/heads/master
i:
  275547: b674ce1
v: v3
  • Loading branch information
Kumar Gala authored and Benjamin Herrenschmidt committed Nov 17, 2011
1 parent 8e607f4 commit cf81372
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: ba28c9aae26ef7f3651eef6835fae30a979f88ba
refs/heads/master: b95bc2191412f5ecf2781c966110a13fa82a80d3
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1298,14 +1298,12 @@ void __kprobes DebugException(struct pt_regs *regs, unsigned long debug_status)

if (user_mode(regs)) {
current->thread.dbcr0 &= ~DBCR0_IC;
#ifdef CONFIG_PPC_ADV_DEBUG_REGS
if (DBCR_ACTIVE_EVENTS(current->thread.dbcr0,
current->thread.dbcr1))
regs->msr |= MSR_DE;
else
/* Make sure the IDM bit is off */
current->thread.dbcr0 &= ~DBCR0_IDM;
#endif
}

_exception(SIGTRAP, regs, TRAP_TRACE, regs->nip);
Expand Down

0 comments on commit cf81372

Please sign in to comment.