powerpc/spinlock: Define smp_mb__after_spinlock only once
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 9 Mar 2021 01:59:48 +0000 (17:59 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Mar 2021 12:19:43 +0000 (23:19 +1100)
commit2bf3604c415c9d75311141b8eb6ac8780ef74420
treec108dd0cc3db65d82c1625f4797f98b86f06ea3a
parent93c043e393af7fa218c928d8c62396ba28f1bb84
powerpc/spinlock: Define smp_mb__after_spinlock only once

Instead of both queued and simple spinlocks doing it. Move
it into the arch's spinlock.h.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210309015950.27688-2-dave@stgolabs.net
arch/powerpc/include/asm/qspinlock.h
arch/powerpc/include/asm/simple_spinlock.h
arch/powerpc/include/asm/spinlock.h