From: Will Deacon Date: Mon, 24 Sep 2012 17:01:13 +0000 (+0100) Subject: ARM: hw_breakpoint: check if monitor mode is enabled during validation X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0daa034e696ac601061cbf60fda41ad39678ae14;p=pandora-kernel.git ARM: hw_breakpoint: check if monitor mode is enabled during validation Rather than attempt to enable monitor mode explicitly when scheduling in a breakpoint event (which could raise an undefined exception trap when accessing DBGDSCRext), instead check that DBGDSCRint.MDBGen is set during event validation and report an error to the caller if not. Signed-off-by: Will Deacon --- Reading git-diff-tree failed