From: Stanislaw Gruszka Date: Tue, 9 Mar 2010 06:55:00 +0000 (+0000) Subject: bnx2x: use smp_mb() to keep ordering of read write operations X-Git-Tag: v2.6.34-rc2~28^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d99cf16f42b1979a2c498bb6d09498dbd689978;p=pandora-kernel.git bnx2x: use smp_mb() to keep ordering of read write operations Since we want to keep ordering of write to fp->bd_tx_cons and netif_tx_queue_stopped(txq), what is read of txq->state, we have to use general memory barrier. Signed-off-by: Stanislaw Gruszka Signed-off-by: David S. Miller --- Reading git-diff-tree failed