summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-24 00:05:09 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-24 00:05:09 +0000
commit7320e0ffac2dd65a911fd6bdc8f65c1467eede5e (patch)
tree2b32d286014cc9a195c92235fea5adc3846ed86d /libc/sysdeps/linux/x86_64
parentb4a09d83d1568672b94fe91b678194409983b824 (diff)
sync with upstream via psm
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/clone.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/x86_64/clone.S b/libc/sysdeps/linux/x86_64/clone.S
index 2dc9a502c..b93c2d9a4 100644
--- a/libc/sysdeps/linux/x86_64/clone.S
+++ b/libc/sysdeps/linux/x86_64/clone.S
@@ -23,8 +23,9 @@
#define _ERRNO_H 1
#include <bits/errno.h>
#include <sys/syscall.h>
-#define _SCHED_H
-#include <bits/sched.h>
+
+#define CLONE_VM 0x00000100
+#define CLONE_THREAD 0x00010000
/* The userland implementation is:
int clone (int (*fn)(void *arg), void *child_stack, int flags, void *arg),