[PATCH] ports/sysdeps/arm/nptl/tls.h: Remove TLS_INIT_TP_EXPENSIVE.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] ports/sysdeps/arm/nptl/tls.h: Remove TLS_INIT_TP_EXPENSIVE.

Will Newton

This define was removed from the rest of the tree eight years ago.

ports/ChangeLog.arm:

2013-09-23  Will Newton  <[hidden email]>

        * ports/sysdeps/arm/nptl/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
        macro.
---
 ports/sysdeps/arm/nptl/tls.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/ports/sysdeps/arm/nptl/tls.h b/ports/sysdeps/arm/nptl/tls.h
index 9a5e86c..e855507 100644
--- a/ports/sysdeps/arm/nptl/tls.h
+++ b/ports/sysdeps/arm/nptl/tls.h
@@ -127,10 +127,6 @@ typedef struct
 # define THREAD_COPY_POINTER_GUARD(descr) \
   (((tcbhead_t *) (descr + 1))->pointer_guard = THREAD_GET_POINTER_GUARD ())

-/* Initializing the thread pointer will generate a SIGILL if the syscall
-   is not available.  */
-#define TLS_INIT_TP_EXPENSIVE 1
-
 /* Get and set the global scope generation counter in struct pthread.  */
 #define THREAD_GSCOPE_FLAG_UNUSED 0
 #define THREAD_GSCOPE_FLAG_USED   1
--
1.8.1.4

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] ports/sysdeps/arm/nptl/tls.h: Remove TLS_INIT_TP_EXPENSIVE.

Joseph Myers
On Mon, 23 Sep 2013, Will Newton wrote:

> This define was removed from the rest of the tree eight years ago.
>
> ports/ChangeLog.arm:
>
> 2013-09-23  Will Newton  <[hidden email]>
>
> * ports/sysdeps/arm/nptl/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
> macro.

OK.

--
Joseph S. Myers
[hidden email]