]> git.baikalelectronics.ru Git - kernel.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)
commit79b82f8fe6a6fe88a36e2c3e8369b58fd0e0d7f2
tree2becd775fdc2a25df3daacf69d80685b251fbed9
parentb336c4c455b33708dba29d2fa6af70b90024377c
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