Commit 851b6cb1 authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger

um: Use real DMA barriers

When we have virtio enabled, we must have real barriers since we
may be running on an SMP machine (quite likely are, in fact), so
the other process can be on another CPU.

Since in any other case we don't really use DMA barriers, remove
their override completely so real barriers will get used. In the
future we might need them for other cases as well.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent a30cc14f
......@@ -23,9 +23,6 @@
#endif /* CONFIG_X86_32 */
#define dma_rmb() barrier()
#define dma_wmb() barrier()
#include <asm-generic/barrier.h>
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment