From: Will Deacon Date: Mon, 12 Aug 2013 17:03:26 +0000 (+0100) Subject: ARM: 7811/1: locks: use early clobber in arch_spin_trylock X-Git-Tag: v3.11-rc6~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa31d8eb86fc2f25083e675d57ac8173a98f999;p=pandora-kernel.git ARM: 7811/1: locks: use early clobber in arch_spin_trylock The res variable is written before we've finished with the input operands (namely the lock address), so ensure that we mark it as `early clobber' to avoid unintended register sharing. Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed