summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2012-02-22 01:53:00 +0000
committerroot <root>2012-02-22 01:53:00 +0000
commit081a449dfd6089209f79b0916d159676fa198f07 (patch)
tree9a97cd3d4c703d997a5b40682e22d58cf010b152
parentad4d0154dfdf3815b3c6e9d598ee49b5f871729e (diff)
mips addition by Anton Kirilov
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 9d1ba99..db76803 100644
--- a/ev.c
+++ b/ev.c
@@ -579,6 +579,8 @@ struct signalfd_siginfo
#define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore")
#elif defined(__s390__) || defined(__s390x__)
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory")
+ #elif defined(__mips__)
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory")
#endif
#endif
#endif