From f29ad2a5cd4f32803adbe9e7100e3c68a8b36b45 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 8 Mar 2004 09:53:49 +0000 Subject: * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly. 2004-03-08 Andreas Jaeger * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): dl_osversion is readonly. --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/sysdeps/i386/tls.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads') 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 + + * sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT_KERNEL_CHECK): + dl_osversion is readonly. + 2004-03-07 Ulrich Drepper * 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 -- cgit v1.2.3