summaryrefslogtreecommitdiffstats
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:54 +0100
commit27f6cabc0ebf9e452c3251bf0511c41cf2c75dde (patch)
tree489cbde9947cf5453a710c313906c07ad58d7deb
parentarm: define __smp_xxx (diff)
downloadlinux-27f6cabc0ebf9e452c3251bf0511c41cf2c75dde.tar.xz
linux-27f6cabc0ebf9e452c3251bf0511c41cf2c75dde.zip
blackfin: define __smp_xxx
This defines __smp_xxx barriers for blackfin, 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>
-rw-r--r--arch/blackfin/include/asm/barrier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/barrier.h b/arch/blackfin/include/asm/barrier.h
index dfb66fe88b34..7cca51cae5ff 100644
--- a/arch/blackfin/include/asm/barrier.h
+++ b/arch/blackfin/include/asm/barrier.h
@@ -78,8 +78,8 @@
#endif /* !CONFIG_SMP */
-#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>