From: Rob Herring Date: Fri, 30 Aug 2013 21:49:23 +0000 (-0500) Subject: net: calxedaxgmac: update ring buffer tx_head after barriers X-Git-Tag: v3.12-rc1~132^2~1^2~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca32723afedd65d612029705446bf44bde5eab14;p=pandora-kernel.git net: calxedaxgmac: update ring buffer tx_head after barriers Ensure that the descriptor writes are visible before the ring buffer head is updated. Since writel is a barrier, we can simply update the head after the writel. Reported-by: Lennert Buytenhek Signed-off-by: Rob Herring Signed-off-by: David S. Miller --- Reading git-diff-tree failed