aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2016-02-05 11:15:42 -0500
committerRalf Baechle <ralf@linux-mips.org>2016-02-05 11:15:42 -0500
commite6c058f9b2700a720d3fad0f6caad1d030c533ee (patch)
tree6d79a6e92f6eae198e2b507e40ce59f267b18ff5 /arch/mips/include/uapi/asm
parentd7de413475f443957a0c1d256e405d19b3a2cb22 (diff)
MIPS: Wire up copy_file_range syscall.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/uapi/asm')
-rw-r--r--arch/mips/include/uapi/asm/unistd.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/mips/include/uapi/asm/unistd.h b/arch/mips/include/uapi/asm/unistd.h
index 90f03a7da665..3129795de940 100644
--- a/arch/mips/include/uapi/asm/unistd.h
+++ b/arch/mips/include/uapi/asm/unistd.h
@@ -380,16 +380,17 @@
380#define __NR_userfaultfd (__NR_Linux + 357) 380#define __NR_userfaultfd (__NR_Linux + 357)
381#define __NR_membarrier (__NR_Linux + 358) 381#define __NR_membarrier (__NR_Linux + 358)
382#define __NR_mlock2 (__NR_Linux + 359) 382#define __NR_mlock2 (__NR_Linux + 359)
383#define __NR_copy_file_range (__NR_Linux + 360)
383 384
384/* 385/*
385 * Offset of the last Linux o32 flavoured syscall 386 * Offset of the last Linux o32 flavoured syscall
386 */ 387 */
387#define __NR_Linux_syscalls 359 388#define __NR_Linux_syscalls 360
388 389
389#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ 390#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
390 391
391#define __NR_O32_Linux 4000 392#define __NR_O32_Linux 4000
392#define __NR_O32_Linux_syscalls 359 393#define __NR_O32_Linux_syscalls 360
393 394
394#if _MIPS_SIM == _MIPS_SIM_ABI64 395#if _MIPS_SIM == _MIPS_SIM_ABI64
395 396
@@ -717,16 +718,17 @@
717#define __NR_userfaultfd (__NR_Linux + 317) 718#define __NR_userfaultfd (__NR_Linux + 317)
718#define __NR_membarrier (__NR_Linux + 318) 719#define __NR_membarrier (__NR_Linux + 318)
719#define __NR_mlock2 (__NR_Linux + 319) 720#define __NR_mlock2 (__NR_Linux + 319)
721#define __NR_copy_file_range (__NR_Linux + 320)
720 722
721/* 723/*
722 * Offset of the last Linux 64-bit flavoured syscall 724 * Offset of the last Linux 64-bit flavoured syscall
723 */ 725 */
724#define __NR_Linux_syscalls 319 726#define __NR_Linux_syscalls 320
725 727
726#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ 728#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
727 729
728#define __NR_64_Linux 5000 730#define __NR_64_Linux 5000
729#define __NR_64_Linux_syscalls 319 731#define __NR_64_Linux_syscalls 320
730 732
731#if _MIPS_SIM == _MIPS_SIM_NABI32 733#if _MIPS_SIM == _MIPS_SIM_NABI32
732 734
@@ -1058,15 +1060,16 @@
1058#define __NR_userfaultfd (__NR_Linux + 321) 1060#define __NR_userfaultfd (__NR_Linux + 321)
1059#define __NR_membarrier (__NR_Linux + 322) 1061#define __NR_membarrier (__NR_Linux + 322)
1060#define __NR_mlock2 (__NR_Linux + 323) 1062#define __NR_mlock2 (__NR_Linux + 323)
1063#define __NR_copy_file_range (__NR_Linux + 324)
1061 1064
1062/* 1065/*
1063 * Offset of the last N32 flavoured syscall 1066 * Offset of the last N32 flavoured syscall
1064 */ 1067 */
1065#define __NR_Linux_syscalls 323 1068#define __NR_Linux_syscalls 324
1066 1069
1067#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ 1070#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
1068 1071
1069#define __NR_N32_Linux 6000 1072#define __NR_N32_Linux 6000
1070#define __NR_N32_Linux_syscalls 323 1073#define __NR_N32_Linux_syscalls 324
1071 1074
1072#endif /* _UAPI_ASM_UNISTD_H */ 1075#endif /* _UAPI_ASM_UNISTD_H */