]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/include/asm/spinlock.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[~andy/linux] / arch / powerpc / include / asm / spinlock.h
index a30ef6999d6623de032d22035358f1f06856cfc3..35aa339410bdaef7d50decc76bda487677323e78 100644 (file)
@@ -28,6 +28,8 @@
 #include <asm/synch.h>
 #include <asm/ppc-opcode.h>
 
+#define smp_mb__after_unlock_lock()    smp_mb()  /* Full ordering for lock. */
+
 #ifdef CONFIG_PPC64
 /* use 0x800000yy when locked, where yy == CPU number */
 #ifdef __BIG_ENDIAN__