diff options
author | Will Deacon <will.deacon@arm.com> | 2010-12-01 18:37:45 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2010-12-15 13:31:03 +0100 |
commit | 8fbf397c3389c1dedfa9ee412715046ab28fd82d (patch) | |
tree | b363718fb46602f882cfb58d372ec6746e3f92c5 /arch/arm/kernel/ptrace.h | |
parent | ARM: hw_breakpoint: fix warnings generated by sparse (diff) | |
download | linux-8fbf397c3389c1dedfa9ee412715046ab28fd82d.tar.xz linux-8fbf397c3389c1dedfa9ee412715046ab28fd82d.zip |
ARM: hw_breakpoint: do not fail initcall if monitor mode is disabled
The debug registers can only be manipulated from software if monitor
debug mode is enabled. On some cores, this can never be enabled (i.e.
the corresponding bit in the DSCR is RAZ/WI).
This patch ensures we can handle this hardware configuration and fail
gracefully, rather than blow up the kernel during boot.
Reported-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/ptrace.h')
0 files changed, 0 insertions, 0 deletions