]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bnx2x: Barriers for the compiler
authorEilon Greenstein <eilong@broadcom.com>
Wed, 14 Jan 2009 06:42:44 +0000 (06:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 00:20:14 +0000 (16:20 -0800)
commit237907c1ded8a1a447cea7c4f97ab853e8b46052
treeabe06a24be466869f8252a3b8e80aa0bc9637ef6
parente47d7e6eb841c1850f0e69b95ae6cf3c86881f53
bnx2x: Barriers for the compiler

To make sure no swapping are made by the compiler, changed HAS_WORK to inline
functions and added all the necessary barriers

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_main.c