提交 851b6cb1 编写于 作者: J Johannes Berg 提交者: 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: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 a30cc14f
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
#endif /* CONFIG_X86_32 */ #endif /* CONFIG_X86_32 */
#define dma_rmb() barrier()
#define dma_wmb() barrier()
#include <asm-generic/barrier.h> #include <asm-generic/barrier.h>
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册