Add and use a generic version of devmem_is_allowed()
[sfrench/cifs-2.6.git] / arch / arm64 / include / asm / io.h
index c53eba1a7fd2d612b6061fc172fbe099d7abd036..5ea8656a2030bff30e447041029f13106b4c44c3 100644 (file)
@@ -110,6 +110,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
 
 #define __io_par(v)            __iormb(v)
 #define __iowmb()              dma_wmb()
+#define __iomb()               dma_mb()
 
 /*
  * Relaxed I/O memory access primitives. These follow the Device memory