0.8.0.64
authorDaniel Barlow <dan@telent.net>
Thu, 12 Jun 2003 22:59:31 +0000 (22:59 +0000)
committerDaniel Barlow <dan@telent.net>
Thu, 12 Jun 2003 22:59:31 +0000 (22:59 +0000)
Patch from Istvan Marko to help make a #+sb-threads runtime work
properly: __asm__ wants to be _asm__ __volatile__

src/runtime/x86-linux-os.c
version.lisp-expr

index d943e6f..f02ea8d 100644 (file)
@@ -121,7 +121,7 @@ struct thread *arch_os_get_current_thread() {
 #ifdef LISP_FEATURE_SB_THREAD
     register struct thread *me=0;
     if(all_threads)
-       __asm__ ("movl %%fs:%c1,%0" : "=r" (me)
+       __asm__ __volatile__ ("movl %%fs:%c1,%0" : "=r" (me)
                 : "i" (offsetof (struct thread,this)));
     return me;
 #else
@@ -130,7 +130,7 @@ struct thread *arch_os_get_current_thread() {
 }
 struct thread *debug_get_fs() {
     register u32 fs;
-    __asm__("movl %%fs,%0" : "=r" (fs)  : );
+    __asm__ __volatile__ ("movl %%fs,%0" : "=r" (fs)  : );
     return fs;
 }
 
index 740c16e..69a80d6 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.0.63"
+"0.8.0.64"