summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-07-20 20:30:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-28 18:57:13 +0200
commit3094aaa2f55622cb3fa85967ff1341831437f2d2 (patch)
tree4e8ad0b3f577caacca2b48ac7b6e34a77dae79a6 /libc/sysdeps/linux/xtensa
parentc876d8a2cd0e7e1ac585abfbe0067a26cd7ea932 (diff)
cleanup unused defines and includes from clone.S
Diffstat (limited to 'libc/sysdeps/linux/xtensa')
-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 */