From a3516fe1a43318dca4e14178142174aa0eed6c30 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 May 2011 23:04:08 +0200 Subject: linuxthreads: use __UCLIBC_HAS_TLS__ consistently replace USE_TLS, HAVE___THREAD and USE___THREAD with __UCLIBC_HAS_TLS__ Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libpthread/linuxthreads/sysdeps/s390/s390-32/pt-machine.h | 2 +- libpthread/linuxthreads/sysdeps/s390/s390-64/pt-machine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads/sysdeps/s390') 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 ()) -- cgit v1.2.3