aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAndreas Larsson <[email protected]>2014-11-05 14:52:08 +0000
committerDavid S. Miller <[email protected]>2014-11-07 20:51:44 +0000
commit1a17fdc4f4ed06b63fac1937470378a5441a663a (patch)
tree1590a724b9a40458ba1a990ceb41fc51839196fc /drivers/tty/serial/sccnxp.c
parentsparc64: Do irq_{enter,exit}() around generic_smp_call_function*(). (diff)
downloadkernel-1a17fdc4f4ed06b63fac1937470378a5441a663a.tar.gz
kernel-1a17fdc4f4ed06b63fac1937470378a5441a663a.zip
sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks
Atomicity between xchg and cmpxchg cannot be guaranteed when xchg is implemented with a swap and cmpxchg is implemented with locks. Without this, e.g. mcs_spin_lock and mcs_spin_unlock are broken. Signed-off-by: Andreas Larsson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions