summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/include/asm/barrier.h')
-rw-r--r--arch/blackfin/include/asm/barrier.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/barrier.h b/arch/blackfin/include/asm/barrier.h
index 19283a16ac08..420006877998 100644
--- a/arch/blackfin/include/asm/barrier.h
+++ b/arch/blackfin/include/asm/barrier.h
@@ -27,6 +27,9 @@
#endif /* !CONFIG_SMP */
+#define smp_mb__before_atomic() barrier()
+#define smp_mb__after_atomic() barrier()
+
#include <asm-generic/barrier.h>
#endif /* _BLACKFIN_BARRIER_H */
OpenPOWER on IntegriCloud