OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420745a
)
Remove preprocessor warning due to missing definition of USE_TLS
author
Khem Raj
<kraj@mvista.com>
Tue, 15 May 2007 00:35:00 +0000
(
00:35
-0000)
committer
Khem Raj
<kraj@mvista.com>
Tue, 15 May 2007 00:35:00 +0000
(
00:35
-0000)
libpthread/linuxthreads/sysdeps/i386/useldt.h
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads/sysdeps/i386/useldt.h
b/libpthread/linuxthreads/sysdeps/i386/useldt.h
index
a2eb53f
..
fa9a2a5
100644
(file)
--- a/
libpthread/linuxthreads/sysdeps/i386/useldt.h
+++ b/
libpthread/linuxthreads/sysdeps/i386/useldt.h
@@
-87,7
+87,7
@@
extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t);
because we inherited the value set up in the main thread by TLS setup.
We need to extract that value and set up the same segment in this
thread. */
-#if USE_TLS
+#if
defined (USE_TLS) &&
USE_TLS
# define DO_SET_THREAD_AREA_REUSE(nr) 1
#else
/* Without TLS, we do the initialization of the main thread, where NR == 0. */