summaryrefslogtreecommitdiff
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2010-07-20 00:36:21 +0400
committerDavid S. Miller <davem@davemloft.net>2010-07-20 00:36:21 +0400
commit492c5d943d6a04b124ba3a719dc746dc36b14cfb (patch)
treeffaf0cac0c39af113bba21b9cb459accd64c5de8 /net/core/sock.c
parent90e1795b9b18ce47e95cd26028a9cfd0f4cc35ba (diff)
downloadlinux-492c5d943d6a04b124ba3a719dc746dc36b14cfb.tar.xz
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 <catalin.marinas@arm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions