diff options
author | Michael S. Tsirkin | 2015-12-27 15:04:42 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2016-01-12 20:46:54 +0200 |
commit | 27f6cabc0ebf9e452c3251bf0511c41cf2c75dde (patch) | |
tree | 489cbde9947cf5453a710c313906c07ad58d7deb /arch/blackfin | |
parent | 2b1f3de10267dd1034d24f9e77dd5e8f07793925 (diff) |
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/barrier.h | 4 |
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> |