summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-19 03:29:32 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-19 03:29:32 -0800
commit510d1ed6dfdbf33103efe7d625779df1835d6ce9 (patch)
tree32d12cbd0171c35accac3504e9b2799a9a2fa2f8 /libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S
parentde2101834f0c80e38008e8d1d1848ab94ce2341e (diff)
x86_64: compile pthread it's own version of __syscall_error
also fix up clone.S from sync Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S12
1 files changed, 3 insertions, 9 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S
index 675a997e9..efbaee3d1 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/clone.S
@@ -1,9 +1,3 @@
-/* We want an #include_next, but we are the main source file.
- So, #include ourselves and in that incarnation we can use #include_next. */
-#ifndef INCLUDED_SELF
-# define INCLUDED_SELF
-# include <clone.S>
-#else
-# define RESET_PID
-# include_next <clone.S>
-#endif
+#include <tcb-offsets.h>
+#define RESET_PID
+#include <libc/sysdeps/linux/x86_64/clone.S>