xtensa: define __smp_xxx
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 27 Dec 2015 13:04:42 +0000 (15:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Jan 2016 18:46:58 +0000 (20:46 +0200)
This defines __smp_xxx barriers for xtensa,
for use by virtualization.

smp_xxx barriers are removed as they are
defined correctly by asm-generic/barriers.h

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/xtensa/include/asm/barrier.h

index 5b88774c75abaee187cc5b1f3915858b3452d3b4..956596e4d437470c9d451d3fdaff6577c49477f5 100644 (file)
@@ -13,8 +13,8 @@
 #define rmb() barrier()
 #define wmb() mb()
 
-#define smp_mb__before_atomic()                barrier()
-#define smp_mb__after_atomic()         barrier()
+#define __smp_mb__before_atomic()              barrier()
+#define __smp_mb__after_atomic()               barrier()
 
 #include <asm-generic/barrier.h>