summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/include/asm/barrier.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
commite6d87036412b952cb083eff2dc716aee97a771f2 (patch)
tree273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/arch/rlx/include/asm/barrier.h
parenta18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/include/asm/barrier.h')
-rw-r--r--target/linux/realtek/files/arch/rlx/include/asm/barrier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files/arch/rlx/include/asm/barrier.h b/target/linux/realtek/files/arch/rlx/include/asm/barrier.h
index 0d897ceae..8ae6695a6 100644
--- a/target/linux/realtek/files/arch/rlx/include/asm/barrier.h
+++ b/target/linux/realtek/files/arch/rlx/include/asm/barrier.h
@@ -74,7 +74,7 @@
: /* no input */ \
: "memory")
#else
-#define __sync() do { } while(0)
+#define __sync() __asm__ __volatile__("" : : :"memory")
#endif
#define __fast_iob() \