summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm64/include/armv8/arch/barrier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm64/include/armv8/arch/barrier.h b/src/arch/arm64/include/armv8/arch/barrier.h
index 99a417bcde..2be2bd3c83 100644
--- a/src/arch/arm64/include/armv8/arch/barrier.h
+++ b/src/arch/arm64/include/armv8/arch/barrier.h
@@ -21,7 +21,7 @@
#define wmb() asm volatile("dsb st" : : : "memory")
#if CONFIG(SMP)
-#define barrier() __asm__ __volatile__("": : :"memory")
+#define barrier() __asm__ __volatile__("" : : : "memory")
#endif
#define nop() asm volatile("nop");