projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4079a9
)
(THREAD_SELF): Adjust use of p_self.
author
drepper
<drepper>
Fri, 5 May 2000 08:06:46 +0000
(08:06 +0000)
committer
drepper
<drepper>
Fri, 5 May 2000 08:06:46 +0000
(08:06 +0000)
linuxthreads/sysdeps/i386/useldt.h
patch
|
blob
|
history
diff --git
a/linuxthreads/sysdeps/i386/useldt.h
b/linuxthreads/sysdeps/i386/useldt.h
index
e6055e0
..
bd527a3
100644
(file)
--- a/
linuxthreads/sysdeps/i386/useldt.h
+++ b/
linuxthreads/sysdeps/i386/useldt.h
@@
-54,7
+54,8
@@
extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t);
({ \
register pthread_descr __self; \
__asm__ ("movl %%gs:%c1,%0" : "=r" (__self) \
- : "i" (offsetof (struct _pthread_descr_struct, p_self))); \
+ : "i" (offsetof (struct _pthread_descr_struct, \
+ p_header.data.self))); \
__self; \
})