From: Michael S. Tsirkin Date: Sun, 27 Dec 2015 13:04:42 +0000 (+0200) Subject: blackfin: define __smp_xxx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27f6cabc0ebf9e452c3251bf0511c41cf2c75dde;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Arnd Bergmann Acked-by: Peter Zijlstra (Intel) --- 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