Update of /cvsroot/sbcl/sbcl/src/runtime
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5224
Modified Files:
Tag: lutex-branch
bsd-os.c
Log Message:
0.9.10.46.lutex-branch.13
* move {:mach,:carbon}-semaphores and :restore-tls-... into
base-target-features.lisp-expr
* conditional compilation fixes to avoid including things on
-sb-thread builds that shouldn't be
* whitespace fixes
* added a fixme in thread.lisp
Index: bsd-os.c
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/runtime/bsd-os.c,v
retrieving revision 1.38.2.4
retrieving revision 1.38.2.5
diff -u -d -r1.38.2.4 -r1.38.2.5
--- bsd-os.c 25 Mar 2006 19:56:46 -0000 1.38.2.4
+++ bsd-os.c 26 Mar 2006 18:51:36 -0000 1.38.2.5
@@ -397,12 +397,12 @@
#if defined(LISP_FEATURE_X86) && defined(LISP_FEATURE_DARWIN) && defined(LISP_FEATURE_SB_THREAD)
int n = thread->tls_cookie;
-
+
/* Set the %%fs register back to 0 and free the the ldt
* by setting it to NULL.
*/
__asm__ __volatile__ ("mov %0, %%fs" : : "r"(0));
- i386_set_ldt(n, NULL, 1);
+ i386_set_ldt(n, NULL, 1);
#endif
return 1; /* success */
|