]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d0f4c2e27037ab3824d1fff147771bf193b0f00
treeea9c3175edbed98f6cbce7a680eb451f7872633b
parente4f047ae238c56a58de9566109a4715d23205f94
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