summary refs log tree commit diff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-25 03:32:13 +0000
committerRoland McGrath <roland@gnu.org>2004-09-25 03:32:13 +0000
commit7921b6b7c20bea242ed3123557b18024536c115f (patch)
tree3a82f4ef8f37eb9447acef73e555239b7466bd9a /linuxthreads/sysdeps
parent3900770ed3168aa30c760ab0096ac984d769104e (diff)
downloadglibc-7921b6b7c20bea242ed3123557b18024536c115f.tar.gz
glibc-7921b6b7c20bea242ed3123557b18024536c115f.tar.xz
glibc-7921b6b7c20bea242ed3123557b18024536c115f.zip
[BZ #406]
2004-09-24  Roland McGrath  <roland@redhat.com>
	[BZ #406]
	* sysdeps/i386/tls.h: Move #include "useldt.h" outside
	of [__ASSUME_LDT_WORKS > 0] test.
	Reported by Carlos Velasco <carlos.velasco@newipnet.com>.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/i386/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index 569a897474..b1805cb868 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -113,10 +113,10 @@ typedef struct
 #   define TLS_LOAD_EBX
 #  endif
 
+#  include "useldt.h"		/* For the structure.  */
 #  if __ASSUME_LDT_WORKS > 0
 #   define TLS_DO_MODIFY_LDT_KERNEL_CHECK(doit) (doit) /* Nothing to check.  */
 #  else
-#   include "useldt.h"		/* For the structure.  */
 #   define TLS_DO_MODIFY_LDT_KERNEL_CHECK(doit)				      \
   (__builtin_expect (GLRO(dl_osversion) < 131939, 0)			      \
    ? "kernel too old for thread-local storage support\n"			      \