0.8.5.49:
authorKevin Rosenberg <kevin@rosenberg.net>
Wed, 19 Nov 2003 22:46:22 +0000 (22:46 +0000)
committerKevin Rosenberg <kevin@rosenberg.net>
Wed, 19 Nov 2003 22:46:22 +0000 (22:46 +0000)
* Revert previous tools-for-build/modify-ldt-struct-name commit
(which never actually included the necessary C file) for the
simpler test of LINUX_VERSION_CODE suggested by Dan Barlow.

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

index bd409f7..e71a786 100644 (file)
@@ -167,10 +167,6 @@ cd $original_dir
 # similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03
 if [ "$sbcl_arch" = "x86" ] ; then
     printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf
-    cd tools-for-build
-    $GNUMAKE -I ../src/runtime modify-ldt-struct-name
-    ./modify-ldt-struct-name > ../src/runtime/modify-ldt-struct-name.h
-    cd ..
 elif [ "$sbcl_arch" = "mips" ] ; then
     # Use a little C program to try to guess the endianness.  Ware
     # cross-compilers!
index b39df5a..927d3c4 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 #include <asm/ldt.h>
-#include "modify-ldt-struct-name.h"
 #include <linux/unistd.h>
 #include <sys/mman.h>
+#include <linux/version.h>
 #include "thread.h"            /* dynamic_values_bytes */
 
-#ifndef MODIFY_LDT_STRUCT_NAMED_USER_DESC
-/* old glibc */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
 #define user_desc  modify_ldt_ldt_s 
 #endif
 
index 1a6c967..a5955b3 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.5.48"
+"0.8.5.49"