This is used by the qtnfmac driver. This was added in commit 1077fa36f23e259 ("arch: Add lightweight memory barriers dma_rmb() and dma_wmb()") Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/asm/barrier.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/backport-include/asm/barrier.h b/backport/backport-include/asm/barrier.h index 9147fb05..9e1e1f11 100644 --- a/backport/backport-include/asm/barrier.h +++ b/backport/backport-include/asm/barrier.h @@ -11,6 +11,10 @@ #define dma_rmb() rmb() #endif +#ifndef dma_wmb +#define dma_wmb() wmb() +#endif + #ifndef smp_mb__after_atomic #define smp_mb__after_atomic smp_mb__after_clear_bit #endif -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in