diff options
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.h | 2 |
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() \ |