aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2013-08-12 17:03:26 +0000
committerRussell King <[email protected]>2013-08-13 19:22:43 +0000
commitafa31d8eb86fc2f25083e675d57ac8173a98f999 (patch)
treeb266adc9aebcda0a7eccd7adbd07a4a5aab3ceee /lib/lockref.c
parentMerge branch 'security-fixes' into fixes (diff)
downloadkernel-afa31d8eb86fc2f25083e675d57ac8173a98f999.tar.gz
kernel-afa31d8eb86fc2f25083e675d57ac8173a98f999.zip
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 <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions