X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-sunos-os.c;h=46ae0873db49e92407bccb8e20d63620b5af3ce3;hb=7be8d1462a207bda809cd7553c5d76c6ebc4dda2;hp=45d87f4e9b934c39d90291aa045d939885488003;hpb=402958f92506b9d3de852601b8c1ccb99b5ee558;p=sbcl.git diff --git a/src/runtime/x86-sunos-os.c b/src/runtime/x86-sunos-os.c index 45d87f4..46ae087 100644 --- a/src/runtime/x86-sunos-os.c +++ b/src/runtime/x86-sunos-os.c @@ -27,7 +27,6 @@ #ifdef LISP_FEATURE_SB_THREAD pthread_mutex_t modify_ldt_lock = PTHREAD_MUTEX_INITIALIZER; -#endif static int ldt_index_selector (int index) { @@ -90,6 +89,7 @@ install_segment (unsigned long start, unsigned long size) { return selector; } +#endif int arch_os_thread_init(struct thread *thread) { stack_t sigstack; @@ -121,8 +121,8 @@ int arch_os_thread_cleanup(struct thread *thread) { 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));