hw-breakpoints: modifying generic debug exception to use thread-specific debug registers
authorK.Prasad <prasad@linux.vnet.ibm.com>
Mon, 1 Jun 2009 18:14:08 +0000 (23:44 +0530)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 2 Jun 2009 20:46:58 +0000 (22:46 +0200)
commit08d68323d1f0c34452e614263b212ca556dae47f
treed020110151fe59d1b38eb17f7f40c43301677c81
parent0067f1297241ea567f2b22a455519752d70fcca9
hw-breakpoints: modifying generic debug exception to use thread-specific debug registers

This patch modifies the breakpoint exception handler code to use the new
abstract debug register names.

[ fweisbec@gmail.com: fix conflict against kmemcheck ]

[ Impact: refactor and cleanup x86 debug exception handler ]

Original-patch-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/traps.c