unistd.h 1013 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * This file is subject to the terms and conditions of the GNU General Public
  4. * License. See the file "COPYING" in the main directory of this archive
  5. * for more details.
  6. *
  7. * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
  8. * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
  9. *
  10. * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
  11. * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
  12. */
  13. #ifndef _UAPI_ASM_UNISTD_H
  14. #define _UAPI_ASM_UNISTD_H
  15. #include <asm/sgidefs.h>
  16. #if _MIPS_SIM == _MIPS_SIM_ABI32
  17. #define __NR_Linux 4000
  18. #include <asm/unistd_o32.h>
  19. #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
  20. #if _MIPS_SIM == _MIPS_SIM_ABI64
  21. #define __NR_Linux 5000
  22. #include <asm/unistd_n64.h>
  23. #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
  24. #if _MIPS_SIM == _MIPS_SIM_NABI32
  25. #define __NR_Linux 6000
  26. #include <asm/unistd_n32.h>
  27. #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
  28. #endif /* _UAPI_ASM_UNISTD_H */