s2io: Update driver to use dma_wmb
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 7 Apr 2015 23:55:21 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:15:14 +0000 (12:15 -0400)
commit03cc864a2571af278fc83d24b6a78d8424f92736
treea2bd3f2ee55faf3d1e5530dcb4489f3ea93352b1
parentb4468cc6f2aeccaea74baa3b211a49851fd84158
s2io: Update driver to use dma_wmb

This change updates several spots where a wmb was being used to instead use
a dma_wmb to flush out writes before updating the control portion of the
descriptor.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/s2io.c