diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-24 10:25:14 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-12-16 00:13:37 +0200 |
commit | ea9156fb3b71d9f7e383253eaff9dd7498b23276 (patch) | |
tree | 5a15cacee7e8f723c8a59533c7a89c3950257dfa /drivers/hwmon/adm1026.c | |
parent | 9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052 (diff) | |
download | linux-ea9156fb3b71d9f7e383253eaff9dd7498b23276.tar.bz2 |
tools/virtio: use {READ,WRITE}_ONCE() in uaccess.h
As a step towards killing off ACCESS_ONCE, use {READ,WRITE}_ONCE() for the
virtio tools uaccess primitives, pulling these in from <linux/compiler.h>.
With this done, we can kill off the now-unused ACCESS_ONCE() definition.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: linux-kernel@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/hwmon/adm1026.c')
0 files changed, 0 insertions, 0 deletions