diff options
Diffstat (limited to 'linuxthreads/sysdeps/mips/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/mips/pt-machine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/mips/pt-machine.h b/linuxthreads/sysdeps/mips/pt-machine.h index 78bd682..a958116 100644 --- a/linuxthreads/sysdeps/mips/pt-machine.h +++ b/linuxthreads/sysdeps/mips/pt-machine.h @@ -27,6 +27,9 @@ # define PT_EI extern inline #endif +extern long int testandset (int *spinlock); +extern int __compare_and_swap (long int *p, long int oldval, long int newval); + /* Memory barrier. */ #define MEMORY_BARRIER() __asm__ ("" : : : "memory") |