00db10
commit 87ded0c382b835e5d7ca8b5e059a8a044a6c3976
00db10
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
00db10
Date:   Tue Jan 7 09:40:39 2014 +0100
00db10
00db10
    S/390: Remove __tls_get_addr argument cast.
00db10
00db10
diff --git a/sysdeps/s390/dl-tls.h b/sysdeps/s390/dl-tls.h
00db10
index 3afa3c89da2ad881..2d5c0807765e33ad 100644
00db10
--- a/sysdeps/s390/dl-tls.h
00db10
+++ b/sysdeps/s390/dl-tls.h
00db10
@@ -91,7 +91,7 @@ extern void *__tls_get_addr_internal (tls_index *ti);
00db10
    compiler will take care of setting up r12 only if itself issued the
00db10
    __tls_get_offset call.  */
00db10
 # define __TLS_GET_ADDR(__ti)					\
00db10
-  ({ (void *) __tls_get_addr_internal ((char *) (__ti))		\
00db10
+  ({ __tls_get_addr_internal (__ti)				\
00db10
       + (unsigned long) __builtin_thread_pointer (); })
00db10
 
00db10
 #endif