Skip to content

Commit

Permalink
[BZ #406]
Browse files Browse the repository at this point in the history
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>.
  • Loading branch information
Roland McGrath committed Sep 25, 2004
1 parent 3900770 commit 7921b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linuxthreads/sysdeps/i386/tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 7921b6b

Please sign in to comment.