diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2010-03-01 07:57:34 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-03-09 03:57:10 +0300 |
commit | 30124d11097e371e42052144d8a3f4a78d26e09f (patch) | |
tree | b37404e0b2c653c099401eea7e9bc988eaa84bb1 /drivers/scsi/pm8001/pm8001_hwi.c | |
parent | a8e6da093ea8642b1320fb5d64134366f2a8d0ac (diff) | |
download | linux-30124d11097e371e42052144d8a3f4a78d26e09f.tar.xz |
powerpc/booke: Fix breakpoint/watchpoint one-shot behavior
Another fix for the extended ptrace patches in the -next tree.
The handling of breakpoints and watchpoints is inconsistent. When a
breakpoint or watchpoint is hit, the interrupt handler is clearing the
proper bits in the dbcr* registers, but leaving the dac* and iac* registers
alone. The ptrace code to delete the break/watchpoints checks the dac* and
iac* registers for zero to determine if they are enabled. Instead, they
should check the dbcr* bits.
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.c')
0 files changed, 0 insertions, 0 deletions