diff options
| author | Will Deacon <will.deacon@arm.com> | 2014-02-17 14:02:06 +0000 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-13 13:23:07 +0200 |
| commit | b0d56e6c90efeec41cfbce97b973d4516d5db0a3 (patch) | |
| tree | 61a61cda9329ec83f24de12ca72db8f04a7b5496 /include/linux | |
| parent | ff8474388aa56e36f638c6d08f5ec9b48c76e74d (diff) | |
asm-generic: rwsem: ensure sem->cnt is only accessed via atomic_long_*
The asm-generic rwsem implementation directly acceses sem->cnt when
performing a __down_read_trylock operation. Whilst this is probably safe
on all architectures, we should stick to the atomic_long_* API and use
atomic_long_read instead.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
