aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-08-12 18:03:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-23 21:38:13 -0700
commit9400319cc170bec3ff02f0adcb978552682725af (patch)
tree0793ee1cf60f6f62b408f04aa66fb3145708e1b7 /include/scsi/scsi_device.h
parent5184c0b7c349f6783986d1848a5f1cdf333075b1 (diff)
ARM: 7811/1: locks: use early clobber in arch_spin_trylock
commit afa31d8eb86fc2f25083e675d57ac8173a98f999 upstream. 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> Cc: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/scsi/scsi_device.h')
0 files changed, 0 insertions, 0 deletions