diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-23 14:46:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-23 14:46:48 -0400 |
commit | f1e84eb3bba3d6a5691ce1832ff7e550768560d8 (patch) | |
tree | aadec1eb55b0281cba4701b85835b2bc4502a9cc /tools | |
parent | 8c6b0865aa80c4f30baa343d3d707389f738af48 (diff) | |
parent | ea5d404655ba3b356d0c06d6a3c4f24112124522 (diff) |
Merge branch 'vhost-net' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtio/linux/hrtimer.h | 0 | ||||
-rw-r--r-- | tools/virtio/linux/module.h | 0 | ||||
-rw-r--r-- | tools/virtio/linux/virtio.h | 3 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/virtio/linux/hrtimer.h b/tools/virtio/linux/hrtimer.h new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/tools/virtio/linux/hrtimer.h | |||
diff --git a/tools/virtio/linux/module.h b/tools/virtio/linux/module.h new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/tools/virtio/linux/module.h | |||
diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h index b4fbc91c41b4..7579f19e61e0 100644 --- a/tools/virtio/linux/virtio.h +++ b/tools/virtio/linux/virtio.h | |||
@@ -181,6 +181,9 @@ struct virtqueue { | |||
181 | #define smp_mb() mb() | 181 | #define smp_mb() mb() |
182 | # define smp_rmb() barrier() | 182 | # define smp_rmb() barrier() |
183 | # define smp_wmb() barrier() | 183 | # define smp_wmb() barrier() |
184 | /* Weak barriers should be used. If not - it's a bug */ | ||
185 | # define rmb() abort() | ||
186 | # define wmb() abort() | ||
184 | #else | 187 | #else |
185 | #error Please fill in barrier macros | 188 | #error Please fill in barrier macros |
186 | #endif | 189 | #endif |