diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-03-25 10:39:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 12:47:56 -0400 |
commit | e42d8cee343a545ac2d9557a3b28708bbca2bd31 (patch) | |
tree | b48c9e39d600f5230f4b3e3e7261a59a615f5fa3 /scripts/dtc/fstree.c | |
parent | 7f883c774e1bad34d5474d8a74989336631ce178 (diff) | |
download | linux-e42d8cee343a545ac2d9557a3b28708bbca2bd31.tar.bz2 |
net: qlge: Eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel(). writel() already has a barrier on
some architectures like arm64.
This ends up CPU observing two barriers back to back before executing the
register write.
Create a new wrapper function with relaxed write operator. Use the new
wrapper when a write is following a wmb().
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/dtc/fstree.c')
0 files changed, 0 insertions, 0 deletions