summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/unistd.h')
-rw-r--r--arch/xtensa/include/asm/unistd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/unistd.h b/arch/xtensa/include/asm/unistd.h
new file mode 100644
index 0000000000..b52236245e
--- /dev/null
+++ b/arch/xtensa/include/asm/unistd.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _XTENSA_UNISTD_H
+#define _XTENSA_UNISTD_H
+
+#define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
+#include <uapi/asm/unistd.h>
+
+#define __ARCH_WANT_NEW_STAT
+#define __ARCH_WANT_STAT64
+#define __ARCH_WANT_SYS_UTIME32
+#define __ARCH_WANT_SYS_GETPGRP
+
+#define NR_syscalls __NR_syscalls
+
+#endif /* _XTENSA_UNISTD_H */