From edea9ee86ac7352b823b9e9f3095a3287dbab0ff Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Jul 2011 01:04:20 +0000 Subject: temporary fence hack --- ev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3