x86,early dr regs,kgdb: Allow kernel debugger early dr register access
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:30 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:30 +0000 (21:04 -0500)
commit0bb9fef9134cf4fdcfce02f9adc22d3d0725cc29
treee553411a2405a7fbc2a71e82b2e8efe6eba23173
parent031acd8c42edd61070f81c51edc89e83147a3d0e
x86,early dr regs,kgdb: Allow kernel debugger early dr register access

If the kernel debugger was configured, attached and started with
kgdbwait, the hardware breakpoint registers should get restored by the
kgdb code which is managing the dr registers.

CC: x86@kernel.org
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Ingo Molnar <mingo@redhat.com>
CC: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/x86/kernel/cpu/common.c