diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-07-08 11:31:06 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-09 10:47:53 +0930 |
commit | c5610a5d7188b90fe0f927d2513bf684fb0bc427 (patch) | |
tree | 206f0e6b1bbed0a617b1f04c63dd3dab18b6b146 /include/linux/virtio_ring.h | |
parent | 62525a00b87cc967bce9779d63fcc84fb9199130 (diff) |
virtio: include asm/barrier explicitly
virtio_ring.h uses mb() and friends, make
it pull in asm/barrier.h itself, not rely
on other headers to do it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio_ring.h')
-rw-r--r-- | include/linux/virtio_ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h index ca3ad41c2c8..b300787af8e 100644 --- a/include/linux/virtio_ring.h +++ b/include/linux/virtio_ring.h @@ -1,6 +1,7 @@ #ifndef _LINUX_VIRTIO_RING_H #define _LINUX_VIRTIO_RING_H +#include <asm/barrier.h> #include <linux/irqreturn.h> #include <uapi/linux/virtio_ring.h> |