diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-05-03 23:04:08 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:43 +0200 |
commit | a3516fe1a43318dca4e14178142174aa0eed6c30 (patch) | |
tree | c8dabe53b20a79c2ab0408cbe0bfde6d142e4786 /libpthread/linuxthreads/sysdeps/s390 | |
parent | 4b06ff8e51f24313b8a24a2f9e2005ef13848964 (diff) |
linuxthreads: use __UCLIBC_HAS_TLS__ consistently
replace USE_TLS, HAVE___THREAD and USE___THREAD with __UCLIBC_HAS_TLS__
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/s390')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h | 2 | ||||
-rw-r--r-- | libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h b/libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h index d52d600ad..685d688ae 100644 --- a/libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h @@ -58,7 +58,7 @@ testandset (int *spinlock) #define CURRENT_STACK_FRAME stack_pointer register char * stack_pointer __asm__ ("15"); -#ifdef USE_TLS +#ifdef __UCLIBC_HAS_TLS__ /* Return the thread descriptor for the current thread. */ # define THREAD_SELF ((pthread_descr) __builtin_thread_pointer ()) diff --git a/libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h b/libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h index 187e1f872..366482c0f 100644 --- a/libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h @@ -58,7 +58,7 @@ testandset (int *spinlock) #define CURRENT_STACK_FRAME stack_pointer register char * stack_pointer __asm__ ("15"); -#ifdef USE_TLS +#ifdef __UCLIBC_HAS_TLS__ /* Return the thread descriptor for the current thread. */ # define THREAD_SELF ((pthread_descr) __builtin_thread_pointer ()) |