From: Michael S. Tsirkin Date: Mon, 8 Jul 2013 02:01:06 +0000 (+0930) Subject: virtio: include asm/barrier explicitly X-Git-Tag: v3.11-rc1~45^2~2 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;ds=sidebyside;h=c5610a5d7188b90fe0f927d2513bf684fb0bc427;p=~andy%2Flinux 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 Signed-off-by: Rusty Russell --- 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 #include #include