summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/ptrace.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-12-01 18:37:45 +0100
committerWill Deacon <will.deacon@arm.com>2010-12-15 13:31:03 +0100
commit8fbf397c3389c1dedfa9ee412715046ab28fd82d (patch)
treeb363718fb46602f882cfb58d372ec6746e3f92c5 /arch/arm/kernel/ptrace.h
parentARM: hw_breakpoint: fix warnings generated by sparse (diff)
downloadlinux-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