summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-08-04 14:49:27 +0000
committerroot <root>2011-08-04 14:49:27 +0000
commitca033783556732d96599cf49bfd5bc18ad31e52f (patch)
treea592a57f143709fa58d094fcb6218cdec8456321
parent2eb55f45972508cfbc72d742d72b3bf070bffbb9 (diff)
*** empty log message ***
-rw-r--r--ev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index 39dec26..d66c12e 100644
--- a/ev.c
+++ b/ev.c
@@ -556,10 +556,10 @@ struct signalfd_siginfo
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory")
#elif defined(__ARM_ARCH_6__ ) || defined(__ARM_ARCH_6J__ ) \
|| defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6ZK__)
- #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mcr p15,0,%0,c7,c10,4" : : "r" (0) : "memory")
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mcr p15,0,%0,c7,c10,5" : : "r" (0) : "memory")
#elif defined(__ARM_ARCH_7__ ) || defined(__ARM_ARCH_7A__ ) \
|| defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7R__ )
- #define ECB_MEMORY_FENCE __asm__ __volatile__ ("dsb" : : : "memory")
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb" : : : "memory")
#endif
#endif
#endif