ibmveth: Use lighter weight read memory barrier in ibmveth_poll
authorAnton Blanchard <anton@samba.org>
Tue, 7 Sep 2010 01:21:41 +0000 (18:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:21:41 +0000 (18:21 -0700)
commitf89e49e79f839dbe79364ec6cd7e2274ad11b120
tree45d75386c47d38f940770326ade59bc57a27c93c
parent8d86c61ae41d9068fd5e5cc01a4abd53c4fe3ab5
ibmveth: Use lighter weight read memory barrier in ibmveth_poll

We want to order the read in ibmveth_rxq_pending_buffer and the read of
ibmveth_rxq_buffer_valid which are both cacheable memory. smp_rmb() is good
enough for this.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ibmveth.c