about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--nptl/Banner2
-rw-r--r--nptl/ChangeLog2
-rw-r--r--nptl/sysdeps/pthread/createthread.c4
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h1
5 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 636f72cdf3..d696452b7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2003-07-21  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define.
+
 	* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of
 	stmxcsr and ldmxcsr.
 
diff --git a/nptl/Banner b/nptl/Banner
index fe38739940..00b04c772f 100644
--- a/nptl/Banner
+++ b/nptl/Banner
@@ -1 +1 @@
-NPTL 0.53 by Ulrich Drepper
+NPTL 0.54 by Ulrich Drepper
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index a8a8c33f28..12ab1a811e 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,7 @@
 2003-07-21  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/pthread/createthread.c: Don't define CLONE_STOPPED.
+
 	* Makefile: Define various *-no-z-defs variables for test DSOs
 	which has undefined symbols.
 
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
index 4a02d1c14b..6e8f5cda90 100644
--- a/nptl/sysdeps/pthread/createthread.c
+++ b/nptl/sysdeps/pthread/createthread.c
@@ -27,10 +27,6 @@
 
 
 #define CLONE_SIGNAL    	(CLONE_SIGHAND | CLONE_THREAD)
-/* XXX Remove when definition is common place.  */
-#ifndef CLONE_STOPPED
-# define CLONE_STOPPED 0x02000000
-#endif
 
 /* Unless otherwise specified, the thread "register" is going to be
    initialized with a pointer to the TCB.  */
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 4e963d1baa..24495e2b34 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -55,6 +55,7 @@
 				      force CLONE_PTRACE on this clone.  */
 # define CLONE_CHILD_SETTID 0x01000000 /* Store TID in userlevel buffer in
 					  the child.  */
+# define CLONE_STOPPED	0x02000000 /* Start in stopped state.  */
 #endif
 
 /* The official definition.  */