diff options
Diffstat (limited to 'linuxthreads/sysdeps/i386/i686/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/i386/i686/pt-machine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h index 6b5b7afeee..4f3541cfb6 100644 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -27,6 +27,7 @@ #endif #include "kernel-features.h" +#ifndef ASSEMBLER extern long int testandset (int *spinlock); extern int __compare_and_swap (long int *p, long int oldval, long int newval); @@ -66,6 +67,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval) : "memory"); return ret; } +#endif #if __ASSUME_LDT_WORKS > 0 #include "../useldt.h" |