diff options
author | Will Deacon | 2011-08-02 14:01:17 +0200 |
---|---|---|
committer | Will Deacon | 2011-08-31 11:42:48 +0200 |
commit | c512de955f0982aafa49d3f00d5643052a6790e5 (patch) | |
tree | 5bf3d463211f174ccf724e82be07cdf800b3168d /arch/arm/include | |
parent | ARM: hw_breakpoint: add initial Cortex-A15 (debug v7.1) support (diff) | |
download | kernel-qcow2-linux-c512de955f0982aafa49d3f00d5643052a6790e5.tar.gz kernel-qcow2-linux-c512de955f0982aafa49d3f00d5643052a6790e5.tar.xz kernel-qcow2-linux-c512de955f0982aafa49d3f00d5643052a6790e5.zip |
ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping
The current hw_breakpoint code on ARM reserves 1 breakpoint for each
watchpoint that is available. Since debug architectures prior to 7.1
are restricted to 1 watchpoint anyway, only one breakpoint was ever
reserved.
This patch changes the reservation strategy so that a single breakpoint
is reserved, regardless of the number of watchpoints. This is in
preparation for multiple-watchpoint support on debug architectures
from 7.1 onwards.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions