about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/i386/i686
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-24 15:33:21 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-24 15:33:21 +0000
commita074fa3c2b7be9d90eef33cae0d9327e877a1d77 (patch)
tree36fb911505f4d712db0691c4dbbb9e2271e5f6ad /linuxthreads/sysdeps/i386/i686
parentff31ba59a7c1c5be4be8fc7c722c957c479abf6d (diff)
downloadglibc-a074fa3c2b7be9d90eef33cae0d9327e877a1d77.tar.gz
glibc-a074fa3c2b7be9d90eef33cae0d9327e877a1d77.tar.xz
glibc-a074fa3c2b7be9d90eef33cae0d9327e877a1d77.zip
Update.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
	Define it for newer kernels.
Diffstat (limited to 'linuxthreads/sysdeps/i386/i686')
-rw-r--r--linuxthreads/sysdeps/i386/i686/pt-machine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h
index 68e7871a62..cf075f312a 100644
--- a/linuxthreads/sysdeps/i386/i686/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h
@@ -22,7 +22,7 @@
 #ifndef PT_EI
 # define PT_EI extern inline
 #endif
-
+#include "kernel-features.h"
 
 /* Get some notion of the current stack.  Need not be exactly the top
    of the stack, just something somewhere in the current frame.  */
@@ -62,5 +62,6 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
   return ret;
 }
 
-
+#if __ASSUME_LDT_WORKS > 0
 #include "../useldt.h"
+#endif