summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/clone.S')
-rw-r--r--libc/sysdeps/linux/xtensa/clone.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/xtensa/clone.S b/libc/sysdeps/linux/xtensa/clone.S
index 913ec5a5f..ebfdcc1f6 100644
--- a/libc/sysdeps/linux/xtensa/clone.S
+++ b/libc/sysdeps/linux/xtensa/clone.S
@@ -22,7 +22,6 @@
#define _ERRNO_H 1
#include <bits/errno.h>
#define __ASSEMBLY__
-#include <linux/sched.h>
/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg,
a2 a3 a4 a5
@@ -69,10 +68,6 @@ ENTRY (__clone)
.Lthread_start:
-#if CLONE_THREAD != 0x00010000 || CLONE_VM != 0x00000100
-# error invalid values for CLONE_THREAD or CLONE_VM
-#endif
-
/* start child thread */
movi a0, 0 /* terminate the stack frame */