2003-03-17 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: clone takes 5 args.
* process.c [LINUX] (sys_clone) [X86_64]: Fix argument order.
diff --git a/process.c b/process.c
index 6a2fad3..8c7ca12 100644
--- a/process.c
+++ b/process.c
@@ -538,6 +538,12 @@
# define ARG_PTID 2
# define ARG_TLS 3
# define ARG_CTID 4
+# elif defined X86_64
+# define ARG_FLAGS 0
+# define ARG_STACK 1
+# define ARG_PTID 2
+# define ARG_CTID 3
+# define ARG_TLS 4
# else
# define ARG_FLAGS 0
# define ARG_STACK 1