projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d72e90f
)
tools/virtio: add dma barrier stubs
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 25 Jul 2018 13:35:09 +0000
(16:35 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 27 Jul 2018 13:54:40 +0000
(16:54 +0300)
Fixes:
55e49dc43a8
("virtio_ring: switch to dma_XX barriers for rpmsg")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/asm/barrier.h
patch
|
blob
|
history
diff --git
a/tools/virtio/asm/barrier.h
b/tools/virtio/asm/barrier.h
index
0ac3caf
..
d0351f8
100644
(file)
--- a/
tools/virtio/asm/barrier.h
+++ b/
tools/virtio/asm/barrier.h
@@
-13,8
+13,8
@@
} while (0);
/* Weak barriers should be used. If not - it's a bug */
# define mb() abort()
-# define rmb() abort()
-# define wmb() abort()
+# define
dma_
rmb() abort()
+# define
dma_
wmb() abort()
#else
#error Please fill in barrier macros
#endif