diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-01-07 09:40:39 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-01-07 09:42:23 +0100 |
commit | 87ded0c382b835e5d7ca8b5e059a8a044a6c3976 (patch) | |
tree | 57572f3b1caf4530045929e85b90b3c66f9ae0f6 /sysdeps/s390/dl-tls.h | |
parent | c5eebdd084b77b0b581a3aa02213fa7cc5851216 (diff) | |
download | glibc-87ded0c382b835e5d7ca8b5e059a8a044a6c3976.tar.gz glibc-87ded0c382b835e5d7ca8b5e059a8a044a6c3976.tar.xz glibc-87ded0c382b835e5d7ca8b5e059a8a044a6c3976.zip |
S/390: Remove __tls_get_addr argument cast.
Diffstat (limited to 'sysdeps/s390/dl-tls.h')
-rw-r--r-- | sysdeps/s390/dl-tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/s390/dl-tls.h b/sysdeps/s390/dl-tls.h index acf282e65c..4801bf8622 100644 --- a/sysdeps/s390/dl-tls.h +++ b/sysdeps/s390/dl-tls.h @@ -91,7 +91,7 @@ extern void *__tls_get_addr_internal (tls_index *ti); compiler will take care of setting up r12 only if itself issued the __tls_get_offset call. */ # define __TLS_GET_ADDR(__ti) \ - ({ (void *) __tls_get_addr_internal ((char *) (__ti)) \ + ({ __tls_get_addr_internal (__ti) \ + (unsigned long) __builtin_thread_pointer (); }) #endif |