diff options
author | Sinan Kaya <[email protected]> | 2018-03-25 10:39:16 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-26 12:47:55 -0400 |
commit | f9442ac498a86b1b0ec383a332be2635fbb1ed98 (patch) | |
tree | 265762dc52f5a1e0bc31bba3e34df3c4dcea04e6 /net/unix/sysctl_net_unix.c | |
parent | 3c95c567322e1dfaa7e0348171181aaf63aa6049 (diff) |
qlcnic: 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.
Since code already has an explicit barrier call, changing writel() to
writel_relaxed().
Signed-off-by: Sinan Kaya <[email protected]>
Acked-by: Manish Chopra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions