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)
commitf7136c5150c29846d7a1d09109449d96b2f63445
tree7e961ac7d78ee8322d136f7a6d4da03a6ad2cda7
parent0016a4cf5582415849fafbf9f019dd9530824789
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