about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/mips/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/mips/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/mips/pt-machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/mips/pt-machine.h b/linuxthreads/sysdeps/mips/pt-machine.h
index 78bd6828a1..a9581163f7 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")