summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-07-20 01:04:20 +0000
committerroot <root>2011-07-20 01:04:20 +0000
commitedea9ee86ac7352b823b9e9f3095a3287dbab0ff (patch)
tree6e86708a299444bb2cc769372936834c996cb9f7
parentd257952e595fa31f3c1331f6607f17deb20faf35 (diff)
temporary fence hack
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 52676da..62d2ab2 100644
--- a/ev.c
+++ b/ev.c
@@ -499,7 +499,7 @@ struct signalfd_siginfo
#if __x86
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("lock; orb $0, -1(%%esp)" : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE ECB_MEMORY_FENCE
- #define ECB_MEMORY_FENCE_RELEASE ECB_MEMORY_FENCE /* better be safe than sorry */
+ #define ECB_MEMORY_FENCE_RELEASE ECB_MEMORY_FENCE
#elif __amd64
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("mfence" : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("lfence" : : : "memory")