From: Will Deacon Date: Wed, 24 Nov 2010 17:45:49 +0000 (+0000) Subject: ARM: hw_breakpoint: reset control registers in hotplug path X-Git-Tag: v2.6.38-rc1~471^2^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d99331e4793b52d488e911876ef11d843c6c8c9;p=pandora-kernel.git ARM: hw_breakpoint: reset control registers in hotplug path The ARMv7 debug architecture doesn't make any guarantees about the contents of debug control registers following a debug logic reset. This patch ensures that we reset the control registers when a cpu comes ONLINE (for example, with hotplug) so that when we enable monitor mode while inserting a breakpoint we won't exhibit random behaviour. Signed-off-by: Will Deacon --- Reading git-diff-tree failed