From: Will Deacon Date: Fri, 21 Sep 2012 13:53:13 +0000 (+0100) Subject: ARM: hw_breakpoint: only clear OS lock when implemented on v7 X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~8^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e64877dcf5fd05d81fa195785a738f3a729587a3;p=pandora-kernel.git 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. Tested-by: Stephen Boyd Signed-off-by: Will Deacon --- Reading git-diff-tree failed