mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
[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>.
This commit is contained in:
parent
3900770ed3
commit
7921b6b7c2
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user