projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62525a0
)
virtio: include asm/barrier explicitly
author
Michael S. Tsirkin
<mst@redhat.com>
Mon, 8 Jul 2013 02:01:06 +0000
(11:31 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
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 <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_ring.h
patch
|
blob
|
history
diff --git
a/include/linux/virtio_ring.h
b/include/linux/virtio_ring.h
index ca3ad41c2c82ad14615d402712d2b50d1e094272..b300787af8e089b05e4038d71fef277fba9f85e4 100644
(file)
--- 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>