summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-03-25 17:39:17 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-26 19:47:55 +0300
commitedd874235ac20a04483f15b27251203e9508dec5 (patch)
treeba3bfae798e8789e352faeb9d66fe352aff1a48a /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
parentf9442ac498a86b1b0ec383a332be2635fbb1ed98 (diff)
downloadlinux-edd874235ac20a04483f15b27251203e9508dec5.tar.xz
bnx2x: Replace doorbell barrier() with wmb()
barrier() doesn't guarantee memory writes to be observed by the hardware on all architectures. barrier() only tells compiler not to move this code with respect to other read/writes. If memory write needs to be observed by the HW, wmb() is the right choice. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
0 files changed, 0 insertions, 0 deletions