diff options
author | root <root> | 2012-04-12 04:10:15 +0000 |
---|---|---|
committer | root <root> | 2012-04-12 04:10:15 +0000 |
commit | 31cb3c196903b5e593525f3fb49145b09ed6d9af (patch) | |
tree | af908e9496e7545fee5f3d120e4971eb372984fc | |
parent | 86fba58497117ab0fe688703f4d77d4bfad33189 (diff) |
*** empty log message ***
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | ev.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,7 @@ TODO: throw() for most ev.h functions libev's EV_ERROR (reported by 191919). - (ecb) add memory fence support for xlC (Darin McBride). - (ecb) add memory fence support for gcc-mips (Anton Kirilov). + - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). - work around some kernels losing file descriptors by leaking the kqueue descriptor in the child. @@ -581,6 +581,8 @@ struct signalfd_siginfo #define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory") #elif defined __mips__ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory") + #elif defined __alpha__ + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory") #endif #endif #endif |