mirror of git://sourceware.org/git/glibc.git
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
instead of machine_thread_state.
This commit is contained in:
parent
45ee7f7680
commit
bcbfaf1def
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-28 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
|
||||||
|
instead of machine_thread_state.
|
||||||
|
|
||||||
2004-10-28 Roland McGrath <roland@redhat.com>
|
2004-10-28 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
|
* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
|
||||||
|
|
|
||||||
|
|
@ -143,9 +143,11 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
|
||||||
asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
|
asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
|
||||||
_dtv; })
|
_dtv; })
|
||||||
|
|
||||||
|
#include <mach/machine/thread_status.h>
|
||||||
|
|
||||||
/* Set up TLS in the new thread of a fork child, copying from our own. */
|
/* Set up TLS in the new thread of a fork child, copying from our own. */
|
||||||
static inline error_t __attribute__ ((unused))
|
static inline error_t __attribute__ ((unused))
|
||||||
_hurd_tls_fork (thread_t child, struct machine_thread_state *state)
|
_hurd_tls_fork (thread_t child, struct i386_thread_state *state)
|
||||||
{
|
{
|
||||||
/* Fetch the selector set by _hurd_tls_init. */
|
/* Fetch the selector set by _hurd_tls_init. */
|
||||||
int sel;
|
int sel;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue