]> git.baikalelectronics.ru Git - kernel.git/commit
hw-breakpoints: use wrapper routines around debug registers in processor related...
authorK.Prasad <prasad@linux.vnet.ibm.com>
Mon, 1 Jun 2009 18:14:26 +0000 (23:44 +0530)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 2 Jun 2009 20:46:59 +0000 (22:46 +0200)
commit44386cce00c2286a26dca4e0350ddafbe909ee8b
treeb825e40b508818673ccbab079351d9140bbd48f7
parent3aeeabd0af231f94c01334d044ab6bdba4903d72
hw-breakpoints: use wrapper routines around debug registers in processor related functions

This patch enables the use of wrapper routines to access the debug/breakpoint
registers on cpu management.

The hardcoded debug registers save and restore operations for threads
breakpoints are replaced by wrappers.

And now that we handle the kernel breakpoints too, we also need to handle them
on cpu hotplug operations.

[ Impact: adapt new hardware breakpoint api to cpu hotplug ]

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/smpboot.c
arch/x86/power/cpu_32.c
arch/x86/power/cpu_64.c