diff options
Diffstat (limited to 'linuxthreads/sysdeps/x86_64/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/x86_64/pt-machine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/x86_64/pt-machine.h b/linuxthreads/sysdeps/x86_64/pt-machine.h index 17caf6c258..b730905dc8 100644 --- a/linuxthreads/sysdeps/x86_64/pt-machine.h +++ b/linuxthreads/sysdeps/x86_64/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); + /* Get some notion of the current stack. Need not be exactly the top of the stack, just something somewhere in the current frame. */ #define CURRENT_STACK_FRAME stack_pointer |