diff options
author | Mark Rutland | 2016-11-24 11:25:13 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2016-12-15 23:13:36 +0100 |
commit | 9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052 (patch) | |
tree | 1bd77f81a5fa856be74926ef14ebc2b29598c758 /net/xfrm | |
parent | tools/virtio: fix READ_ONCE() (diff) | |
download | kernel-qcow2-linux-9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052.tar.gz kernel-qcow2-linux-9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052.tar.xz kernel-qcow2-linux-9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052.zip |
vringh: kill off ACCESS_ONCE()
Despite living under drivers/ vringh.c is also used as part of the userspace
virtio tools. Before we can kill off the ACCESS_ONCE()definition in the tools,
we must convert vringh.c to use {READ,WRITE}_ONCE().
This patch does so, along with the required include of <linux/compiler.h> for
the relevant definitions. The userspace tools provide their own definitions in
their own <linux/compiler.h>.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions