diff options
author | Mark Rutland <[email protected]> | 2016-11-24 10:25:13 +0000 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-12-16 00:13:36 +0200 |
commit | 9d1b972f8a25bba01ecfc1d90d7a2fbf1923d052 (patch) | |
tree | 1bd77f81a5fa856be74926ef14ebc2b29598c758 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5da889c795b1fbefc9d8f058b54717ab8ab17891 (diff) |
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 <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions