summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2010-07-19 13:36:21 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-13 13:27:23 -0700
commit35394fdc1277b92ebd0d1a205f9a3e783b794c26 (patch)
treefedacd75f160650ccda3005824b8d678dc785aa4 /arch
parente720aace59112a58fcdbb95234fd61cba2843fe2 (diff)
smsc911x: Add spinlocks around registers access
commit 492c5d943d6a04b124ba3a719dc746dc36b14cfb upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions