typhoon: fix incorrect use of smp_wmb()
authorDavid Dillow <dave@thedillows.org>
Thu, 4 Mar 2010 04:37:16 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Mar 2010 22:00:18 +0000 (14:00 -0800)
commit5fe88eae26dbd24eed73eb0b681e13981fd486b3
treeea9c3175edbed98f6cbce7a680eb451f7872633b
parentd17792ebdf90289c9fd1bce888076d3d60ecd53b
typhoon: fix incorrect use of smp_wmb()

The typhoon driver was incorrectly using smp_wmb() to order memory
accesses against IO to the NIC in a few instances. Use wmb() instead,
which is required to actually order between memory types.

Signed-off-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/typhoon.c