unistd.h 662 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 2012 Regents of the University of California
  4. */
  5. /*
  6. * There is explicitly no include guard here because this file is expected to
  7. * be included multiple times.
  8. */
  9. #define __ARCH_WANT_SYS_CLONE
  10. #ifdef CONFIG_COMPAT
  11. #define __ARCH_WANT_COMPAT_TRUNCATE64
  12. #define __ARCH_WANT_COMPAT_FTRUNCATE64
  13. #define __ARCH_WANT_COMPAT_FALLOCATE
  14. #define __ARCH_WANT_COMPAT_PREAD64
  15. #define __ARCH_WANT_COMPAT_PWRITE64
  16. #define __ARCH_WANT_COMPAT_SYNC_FILE_RANGE
  17. #define __ARCH_WANT_COMPAT_READAHEAD
  18. #define __ARCH_WANT_COMPAT_FADVISE64_64
  19. #endif
  20. #include <uapi/asm/unistd.h>
  21. #define NR_syscalls (__NR_syscalls)