]> git.baikalelectronics.ru Git - kernel.git/commit
hw_breakpoints: Allow arch-specific cleanup before breakpoint unregistration
authorK.Prasad <prasad@linux.vnet.ibm.com>
Tue, 15 Jun 2010 06:04:34 +0000 (11:34 +0530)
committerPaul Mackerras <paulus@samba.org>
Tue, 22 Jun 2010 09:40:50 +0000 (19:40 +1000)
commit6c3e7698bb3007b3fdf92b8e8f93aa0b4c118cd3
tree7e961ac7d78ee8322d136f7a6d4da03a6ad2cda7
parentd6143c79c156c354dc1f4f92db9436f84bb4159e
hw_breakpoints: Allow arch-specific cleanup before breakpoint unregistration

Certain architectures (such as PowerPC) have a need to clean up data
structures before a breakpoint is unregistered.  This introduces an
arch-specific hook in release_bp_slot() along with a weak definition
in the form of a stub function.

Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
kernel/hw_breakpoint.c