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)
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>

No differences found