about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-29 01:25:24 +0000
committerRoland McGrath <roland@gnu.org>2004-10-29 01:25:24 +0000
commitbcbfaf1def57a02b15709e476bd069bdf4ba2619 (patch)
treee5e28a636598fc03c400537c42d4abbd10f26fb7 /sysdeps/mach/hurd
parent45ee7f7680f2f328be42e2fbf76393040740027c (diff)
downloadglibc-bcbfaf1def57a02b15709e476bd069bdf4ba2619.tar.gz
glibc-bcbfaf1def57a02b15709e476bd069bdf4ba2619.tar.xz
glibc-bcbfaf1def57a02b15709e476bd069bdf4ba2619.zip
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
	instead of machine_thread_state.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/i386/tls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index a7c291c53f..ff849716e0 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -143,9 +143,11 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
      asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\
      _dtv; })
 
+#include <mach/machine/thread_status.h>
+
 /* Set up TLS in the new thread of a fork child, copying from our own.  */
 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.  */
   int sel;