summaryrefslogtreecommitdiffstats
path: root/kernel/tools/virtio/asm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/virtio/asm')
-rw-r--r--kernel/tools/virtio/asm/barrier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/tools/virtio/asm/barrier.h b/kernel/tools/virtio/asm/barrier.h
index aff61e133..26b7926bd 100644
--- a/kernel/tools/virtio/asm/barrier.h
+++ b/kernel/tools/virtio/asm/barrier.h
@@ -3,6 +3,8 @@
#define mb() __sync_synchronize()
#define smp_mb() mb()
+# define dma_rmb() barrier()
+# define dma_wmb() barrier()
# define smp_rmb() barrier()
# define smp_wmb() barrier()
/* Weak barriers should be used. If not - it's a bug */