aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/rwsem.h
Commit message (Collapse)AuthorAgeFilesLines
* asm-generic: rwsem: ensure sem->cnt is only accessed via atomic_long_*Will Deacon2016-09-131-1/+1
| | | | | | | | | 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>
* first commitMeizu OpenSource2016-08-151-0/+132