powerpc/booke: clear DBCR0_BT in user_disable_single_step()
authorJames Yang <James.Yang@freescale.com>
Fri, 5 Jul 2013 19:49:43 +0000 (14:49 -0500)
committerScott Wood <scottwood@freescale.com>
Fri, 18 Oct 2013 23:50:14 +0000 (18:50 -0500)
commit682775b8de995d97956447730c04d2ff978d4e13
tree43b135a597ee4490b39208aeeaa1e1d6f4862518
parent3743c9b8ceb638b6e4b78b42f2262e22aa6359f0
powerpc/booke: clear DBCR0_BT in user_disable_single_step()

BookE version of user_disable_single_step() clears DBCR0_IC for the
instruction completion debug, but did not also clear DBCR0_BT for the
branch taken exception.  This behavior was lost by the 2/2010 patch.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/ptrace.c