unistd.h 639 B

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