diff options
author | Will Deacon <will.deacon@arm.com> | 2013-08-12 19:03:26 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-13 21:22:43 +0200 |
commit | afa31d8eb86fc2f25083e675d57ac8173a98f999 (patch) | |
tree | b266adc9aebcda0a7eccd7adbd07a4a5aab3ceee /Documentation/dontdiff | |
parent | Merge branch 'security-fixes' into fixes (diff) | |
download | linux-afa31d8eb86fc2f25083e675d57ac8173a98f999.tar.xz linux-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 <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Documentation/dontdiff')
0 files changed, 0 insertions, 0 deletions