about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
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 /sysdeps/unix/sysv/linux/kernel-features.h
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 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index b799a33cb9..babeab56a4 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -117,3 +117,8 @@
 #  define __ASSUME_SETRESUID_SYSCALL	1
 # endif
 #endif
+
+/* We can use the LDTs for threading with Linux 2.3.99 and newer.  */
+#if __LINUX_KERNEL_VERSION >= 131939
+# define __ASSUME_LDT_WORKS		1
+#endif