1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _XTENSA_UNISTD_H
3 #define _XTENSA_UNISTD_H
5 #define __ARCH_WANT_SYS_CLONE
6 #include <uapi/asm/unistd.h>
8 #define __ARCH_WANT_STAT64
9 #define __ARCH_WANT_SYS_UTIME
10 #define __ARCH_WANT_SYS_LLSEEK
11 #define __ARCH_WANT_SYS_GETPGRP
14 * Ignore legacy system calls in the checksyscalls.sh script
17 #define __IGNORE_fork /* use clone */
19 #define __IGNORE_alarm /* use setitimer */
20 #define __IGNORE_pause
21 #define __IGNORE_mmap /* use mmap2 */
22 #define __IGNORE_vfork /* use clone */
23 #define __IGNORE_fadvise64 /* use fadvise64_64 */
25 #endif /* _XTENSA_UNISTD_H */