summaryrefslogtreecommitdiff
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2018-07-05 15:34:22 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-07-23 21:18:11 +0300
commit69f894c3f3185d3826ea6573afb282386b797acf (patch)
tree98174b8746cd8b1ed3bcdde9205b6fd34e2b0092 /lib/smp_processor_id.c
parentc344a327baefc372b7f4b7d0c17ac8b417ceaf94 (diff)
downloadlinux-69f894c3f3185d3826ea6573afb282386b797acf.tar.xz
iio: ad9523: replace core mlock with local lock
This is also part of a long term effort to make the use of mlock opaque and single purpose. This lock is required for accessing device registers. The device may be accessed by multiple processes at the same time, and this can result in inconsistent data, where one device reads data before the other one has finished writing. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions