diff options
| author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-03-26 18:57:26 -0700 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-03-26 18:57:26 -0700 |
| commit | fc2ed77b9d6b579d61024163c74f41c24394fcc7 (patch) | |
| tree | 903d80ba1b1fc0eb15e122a8c12a72f72e7ed2de /tools | |
| parent | 3d04d42312eacc68fbcddea337f7eb34bc035dfb (diff) | |
| parent | 50269e19ad990e79eeda101fc6df80cffd5d4831 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
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 { #define smp_mb() mb() # define smp_rmb() barrier() # define smp_wmb() barrier() +/* Weak barriers should be used. If not - it's a bug */ +# define rmb() abort() +# define wmb() abort() #else #error Please fill in barrier macros #endif |
