]> Git Repo - linux.git/commitdiff
virtio: include asm/barrier explicitly
authorMichael S. Tsirkin <[email protected]>
Mon, 8 Jul 2013 02:01:06 +0000 (11:31 +0930)
committerRusty Russell <[email protected]>
Tue, 9 Jul 2013 01:17:53 +0000 (10:47 +0930)
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
include/linux/virtio_ring.h

index ca3ad41c2c82ad14615d402712d2b50d1e094272..b300787af8e089b05e4038d71fef277fba9f85e4 100644 (file)
@@ -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>
 
This page took 0.055856 seconds and 4 git commands to generate.