diff options
Diffstat (limited to 'linuxthreads/sysdeps/alpha/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/alpha/pt-machine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h index 25ba634..99c9bb6 100644 --- a/linuxthreads/sysdeps/alpha/pt-machine.h +++ b/linuxthreads/sysdeps/alpha/pt-machine.h @@ -1,6 +1,6 @@ /* Machine-dependent pthreads configuration and inline functions. Alpha version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson <rth@tamu.edu>. @@ -34,6 +34,8 @@ register char *stack_pointer __asm__("$30"); /* Memory barrier; default is to do nothing */ #define MEMORY_BARRIER() __asm__ __volatile__("mb" : : : "memory") +/* Write barrier. */ +#define WRITE_MEMORY_BARRIER() __asm__ __volatile__("wmb" : : : "memory") /* Spinlock implementation; required. */ |