aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-03-08 09:53:49 +0000
committerAndreas Jaeger <aj@suse.de>2004-03-08 09:53:49 +0000
commitf29ad2a5cd4f32803adbe9e7100e3c68a8b36b45 (patch)
tree4015fbe6f999d136e772d6e5408388ca8b9e5ae4
parent9af3a3fbca75beb95bbf3c2e848d68a3f69ec418 (diff)
downloadglibc-f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45.tar
glibc-f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45.tar.gz
glibc-f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45.tar.bz2
glibc-f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45.zip
* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK):
dl_osversion is readonly. 2004-03-08 Andreas Jaeger <aj@suse.de> * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly.
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/i386/tls.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9f11a40548..c891766ce4 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-08 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK):
+ dl_osversion is readonly.
+
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (INIT_SYSINFO): _dl_sysinfo is now in
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index 2c5d3e0e8c..569a897474 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -118,7 +118,7 @@ typedef struct
# else
# include "useldt.h" /* For the structure. */
# define TLS_DO_MODIFY_LDT_KERNEL_CHECK(doit) \
- (__builtin_expect (GL(dl_osversion) < 131939, 0) \
+ (__builtin_expect (GLRO(dl_osversion) < 131939, 0) \
? "kernel too old for thread-local storage support\n" \
: (doit))
# endif