diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-17 21:48:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-17 21:48:10 +0000 |
commit | 79f757a42a754fd43a2a9c7a738a81d53c00135b (patch) | |
tree | 032261078c7d7f4ad3f0f2c8c3c9d20b89755637 /linuxthreads/sysdeps/i386/i686/pt-machine.h | |
parent | b6e20712403daa9800411f404b9201f82faaa6b2 (diff) | |
download | glibc-79f757a42a754fd43a2a9c7a738a81d53c00135b.tar.gz glibc-79f757a42a754fd43a2a9c7a738a81d53c00135b.tar.xz glibc-79f757a42a754fd43a2a9c7a738a81d53c00135b.zip |
(testandset): Adjust for prototype change.
Diffstat (limited to 'linuxthreads/sysdeps/i386/i686/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/i386/i686/pt-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h index cf075f312a..92798ac8b9 100644 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -31,10 +31,10 @@ register char * stack_pointer __asm__ ("%esp"); /* Spinlock implementation; required. */ -PT_EI int +PT_EI long int testandset (int *spinlock) { - int ret; + long int ret; __asm__ __volatile__ ( "xchgl %0, %1" |