summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-12-27 14:04:42 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-01-12 19:46:58 +0100
commit1ce790913b6ce67cd85235083aeb67898bad1a1f (patch)
treec9d90f111d7b5c0963be390983013a1d88c71ccc /arch/xtensa
parenttile: define __smp_xxx (diff)
downloadlinux-1ce790913b6ce67cd85235083aeb67898bad1a1f.tar.xz
linux-1ce790913b6ce67cd85235083aeb67898bad1a1f.zip
xtensa: define __smp_xxx
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>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/barrier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/barrier.h b/arch/xtensa/include/asm/barrier.h
index 5b88774c75ab..956596e4d437 100644
--- a/arch/xtensa/include/asm/barrier.h
+++ b/arch/xtensa/include/asm/barrier.h
@@ -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>