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