From: Catalin Marinas Date: Mon, 19 Jul 2010 20:36:21 +0000 (-0700) Subject: smsc911x: Add spinlocks around registers access X-Git-Tag: v2.6.36-rc1~571^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=492c5d943d6a04b124ba3a719dc746dc36b14cfb;p=pandora-kernel.git smsc911x: Add spinlocks around registers access On SMP systems, the SMSC911x registers may be accessed by multiple CPUs and this seems to put the chip in an inconsistent state. The patch adds spinlocks to the smsc911x_reg_read, smsc911x_reg_write, smsc911x_rx_readfifo and smsc911x_tx_writefifo functions. Signed-off-by: Catalin Marinas Signed-off-by: David S. Miller --- Reading git-diff-tree failed