diff options
-rw-r--r-- | arch/arm64/include/asm/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index 179a4c65c0d4..e9763831186a 100644 --- a/arch/arm64/include/asm/io.h +++ b/arch/arm64/include/asm/io.h | |||
@@ -95,7 +95,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) | |||
95 | ({ \ | 95 | ({ \ |
96 | unsigned long tmp; \ | 96 | unsigned long tmp; \ |
97 | \ | 97 | \ |
98 | rmb(); \ | 98 | dma_rmb(); \ |
99 | \ | 99 | \ |
100 | /* \ | 100 | /* \ |
101 | * Create a dummy control dependency from the IO read to any \ | 101 | * Create a dummy control dependency from the IO read to any \ |
@@ -109,7 +109,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) | |||
109 | }) | 109 | }) |
110 | 110 | ||
111 | #define __io_par(v) __iormb(v) | 111 | #define __io_par(v) __iormb(v) |
112 | #define __iowmb() wmb() | 112 | #define __iowmb() dma_wmb() |
113 | 113 | ||
114 | /* | 114 | /* |
115 | * Relaxed I/O memory access primitives. These follow the Device memory | 115 | * Relaxed I/O memory access primitives. These follow the Device memory |