diff options
-rw-r--r-- | linuxthreads/sysdeps/ia64/pt-machine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/ia64/pt-machine.h b/linuxthreads/sysdeps/ia64/pt-machine.h index d3585ec..4c8bd0e 100644 --- a/linuxthreads/sysdeps/ia64/pt-machine.h +++ b/linuxthreads/sysdeps/ia64/pt-machine.h @@ -65,6 +65,10 @@ register struct _pthread_descr_struct *__thread_self __asm__("r13"); #define THREAD_SETMEM_NC(descr, member, value) __thread_self->member = (value) +/* Memory barrier */ +#define MEMORY_BARRIER() __asm__ __volatile__("mf" : : : "memory") + + #define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS PT_EI int |