powerpc: Fix smp_mb__before_spinlock()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 1 Apr 2015 15:19:59 +0000 (08:19 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:58:01 +0000 (12:58 -0700)
commita76ff6884bfedfafcbb0d9c84c7a6b6a546cba6d
treeaa2c9b38aeb378fc24b426c9e01ff5ec72cad349
parent5ce035fb7df413a72b6b956d4aa212a866f3b565
powerpc: Fix smp_mb__before_spinlock()

Currently, smp_mb__before_spinlock() is defined to be smp_wmb()
in core code, but this is not sufficient on PowerPC.  This patch
therefore supplies an override for the generic definition to
strengthen smp_mb__before_spinlock() to smp_mb(), as is needed
on PowerPC.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: <linuxppc-dev@lists.ozlabs.org>
arch/powerpc/include/asm/barrier.h