aboutsummaryrefslogtreecommitdiff
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 636f72c..d696452 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 fe38739..00b04c7 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 a8a8c33..12ab1a8 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 4a02d1c..6e8f5cd 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 4e963d1..24495e2 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. */