Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 8 years ago
parent
commit
a9e727ce2d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      ev.c

+ 3
- 1
ev.c View File

@ -629,7 +629,9 @@ struct signalfd_siginfo
#elif defined __s390__ || defined __s390x__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory")
#elif defined __mips__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory")
/* GNU/Linux emulates sync on mips1 architectures, so we force it's use */
/* anybody else who still uses mips1 is supposed to send in their version, with detection code. */
#define ECB_MEMORY_FENCE __asm__ __volatile__ (".set mips2; sync; .set mips0" : : : "memory")
#elif defined __alpha__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory")
#elif defined __hppa__


Loading…
Cancel
Save