diff options
author | David Dillow <dave@thedillows.org> | 2010-03-03 16:33:10 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-12 14:57:12 -0700 |
commit | 0c03e80e912e9332a8167b9172fd74d1323f3e9b (patch) | |
tree | 2d3e8d4528e2d53f93cc18b8deb023838194e809 /drivers/net/usb/kaweth.c | |
parent | 150d8a1fe2e89b124bc5bc3628095b8db2435272 (diff) |
r8169: use correct barrier between cacheable and non-cacheable memory
commit 4c020a961a812ffae9846b917304cea504c3a733 upstream.
r8169 needs certain writes to be visible to other CPUs or the NIC before
touching the hardware, but was using smp_wmb() which is only required to
order cacheable memory access. Switch to wmb() which is required to
order both cacheable and non-cacheable memory.
Noticed by Catalin Marinas and Paul Mackerras.
Signed-off-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/usb/kaweth.c')
0 files changed, 0 insertions, 0 deletions