mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] locking/xchg/alpha: Additional fixes
@ 2018-02-22  9:23 Andrea Parri
  0 siblings, 0 replies; only message in thread
From: Andrea Parri @ 2018-02-22  9:23 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Will Deacon, Paul E . McKenney, Alan Stern, Ivan Kokshaysky,
	Matt Turner, Richard Henderson, linux-alpha, linux-kernel,
	Andrea Parri

Hi,

A couple of two more fixes, on top of tip:locking/urgent, to Alpha's
implementations of xchg() and cmpxchg():

  - The first, suggested by Will, removing the macro '__ASM__MB'
    in favour of smp_mb();

  - The second, reported by Will, adding a leading smp_mb().

Compile tested only.

Cheers,
  Andrea

Andrea Parri (2):
  locking/xchg/alpha: Use smp_mb() in place of __ASM__MB
  locking/xchg/alpha: Add leading smp_mb() to xchg(), cmpxchg()

 arch/alpha/include/asm/cmpxchg.h |  6 ------
 arch/alpha/include/asm/xchg.h    | 37 ++++++++++++++++++++++++++-----------
 2 files changed, 26 insertions(+), 17 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-22  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22  9:23 [PATCH 0/2] locking/xchg/alpha: Additional fixes Andrea Parri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®