https://github.com/torvalds/linux
Revision afa31d8eb86fc2f25083e675d57ac8173a98f999 authored by Will Deacon on 12 August 2013, 17:03:26 UTC, committed by Russell King on 13 August 2013, 19:22:43 UTC
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>
1 parent e35ac62
History
Tip revision: afa31d8eb86fc2f25083e675d57ac8173a98f999 authored by Will Deacon on 12 August 2013, 17:03:26 UTC
ARM: 7811/1: locks: use early clobber in arch_spin_trylock
Tip revision: afa31d8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 253.4 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top