#ifdef LISP_FEATURE_SB_THREAD
pthread_mutex_t modify_ldt_lock = PTHREAD_MUTEX_INITIALIZER;
-#endif
static int
ldt_index_selector (int index) {
return selector;
}
+#endif
int arch_os_thread_init(struct thread *thread) {
stack_t sigstack;
int n = thread->tls_cookie;
struct ssd delete = { n, 0, 0, 0, 0};
- /* Set the %%fs register back to 0 and free the the ldt
- * by setting it to NULL.
+ /* Set the %%fs register back to 0 and free the ldt by setting it
+ * to NULL.
*/
FSHOW_SIGNAL((stderr, "/ TLS: Freeing LDT %x\n", n));