]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: hw_breakpoint: only clear OS lock when implemented on v7
authorWill Deacon <will.deacon@arm.com>
Fri, 21 Sep 2012 13:53:13 +0000 (14:53 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 15 Oct 2012 11:01:08 +0000 (12:01 +0100)
commit32560e206931a084bd7519ed1cb09c5f0e198b59
treebcc9504d7e0ecf8400621c8118bbade93cd744b6
parentddffeb8c4d0331609ef2581d84de4d763607bd37
ARM: hw_breakpoint: only clear OS lock when implemented on v7

The OS save and restore register are optional in debug architecture v7,
so check the status register before attempting to clear the OS lock.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/hw_breakpoint.c