]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
authorRoland McGrath <roland@gnu.org>
Fri, 29 Oct 2004 01:25:24 +0000 (01:25 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 29 Oct 2004 01:25:24 +0000 (01:25 +0000)
instead of machine_thread_state.

ChangeLog
sysdeps/mach/hurd/i386/tls.h

index 11592e7f876d04c83117020f6d53da990319b0dd..5fcfdaeaba4232b43f15668420fac2fcda0723d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
index a7c291c53f210634d43aa673a3805a5844e7c5fd..ff849716e0adfa4781cfe6fd68dfbc1874e05d24 100644 (file)
@@ -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;