diff options
author | root <root> | 2011-07-20 01:04:20 +0000 |
---|---|---|
committer | root <root> | 2011-07-20 01:04:20 +0000 |
commit | edea9ee86ac7352b823b9e9f3095a3287dbab0ff (patch) | |
tree | 6e86708a299444bb2cc769372936834c996cb9f7 | |
parent | d257952e595fa31f3c1331f6607f17deb20faf35 (diff) |
temporary fence hack
-rw-r--r-- | ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |