]> git.karo-electronics.de Git - linux-beck.git/commit
hw-breakpoints: reset bits in dr6 after the corresponding exception is handled
authorK.Prasad <prasad@linux.vnet.ibm.com>
Mon, 1 Jun 2009 18:17:06 +0000 (23:47 +0530)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 2 Jun 2009 20:47:00 +0000 (22:47 +0200)
commit62edab9056a6cf0c9207339c8892c923a5217e45
tree2becd775fdc2a25df3daacf69d80685b251fbed9
parent0722db015c246204044299eae3b02d18d3ca4faf
hw-breakpoints: reset bits in dr6 after the corresponding exception is handled

This patch resets the bit in dr6 after the corresponding exception is
handled in code, so that we keep a clean track of the current virtual debug
status register.

[ Impact: keep track of breakpoints triggering completion ]

Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/hw_breakpoint.c
arch/x86/kernel/kgdb.c
arch/x86/kernel/kprobes.c
arch/x86/kernel/traps.c
arch/x86/mm/kmmio.c