m68k: use asm-generic cmpxchg_local()
authorGreg Ungerer <gerg@linux-m68k.org>
Mon, 15 Jun 2020 04:20:47 +0000 (14:20 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 27 Jul 2020 02:32:00 +0000 (12:32 +1000)
commitf944814eea028be6cc489d3080ed2901525ded1d
tree84bc0b306d3309ef7784357761d6cd9131736142
parent58f80fa56d8b493f52cbec64a86ba61e6cf384f1
m68k: use asm-generic cmpxchg_local()

Use the asm-generic version of the cmpxchg_local() macro. Although not
all target types use asm-generic/cmpxchg.h, for those that do the
local cmpxchg_local() is the same as the asm-generic/cmpxchg.h one.
So no need to define the local one.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/include/asm/cmpxchg.h