diff options
-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 |