diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-02 11:31:14 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:25:59 -0400 |
commit | 722cfd90420b660ad13f933efb135daf1d0e5400 (patch) | |
tree | e1fc9a799330d21389483c1807fc0148aade74e2 /include/asm-mips | |
parent | 94dee171df34b7955cd647da4c40ba67d55a7671 (diff) |
[MIPS] Wire up vmsplice(2) and move_pages(2).
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/unistd.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/include/asm-mips/unistd.h b/include/asm-mips/unistd.h index 809f9f55bacb..610ccb8a50b3 100644 --- a/include/asm-mips/unistd.h +++ b/include/asm-mips/unistd.h | |||
@@ -327,16 +327,18 @@ | |||
327 | #define __NR_splice (__NR_Linux + 304) | 327 | #define __NR_splice (__NR_Linux + 304) |
328 | #define __NR_sync_file_range (__NR_Linux + 305) | 328 | #define __NR_sync_file_range (__NR_Linux + 305) |
329 | #define __NR_tee (__NR_Linux + 306) | 329 | #define __NR_tee (__NR_Linux + 306) |
330 | #define __NR_vmsplice (__NR_Linux + 307) | ||
331 | #define __NR_move_pages (__NR_Linux + 308) | ||
330 | 332 | ||
331 | /* | 333 | /* |
332 | * Offset of the last Linux o32 flavoured syscall | 334 | * Offset of the last Linux o32 flavoured syscall |
333 | */ | 335 | */ |
334 | #define __NR_Linux_syscalls 306 | 336 | #define __NR_Linux_syscalls 308 |
335 | 337 | ||
336 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ | 338 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ |
337 | 339 | ||
338 | #define __NR_O32_Linux 4000 | 340 | #define __NR_O32_Linux 4000 |
339 | #define __NR_O32_Linux_syscalls 306 | 341 | #define __NR_O32_Linux_syscalls 308 |
340 | 342 | ||
341 | #if _MIPS_SIM == _MIPS_SIM_ABI64 | 343 | #if _MIPS_SIM == _MIPS_SIM_ABI64 |
342 | 344 | ||
@@ -610,16 +612,18 @@ | |||
610 | #define __NR_splice (__NR_Linux + 263) | 612 | #define __NR_splice (__NR_Linux + 263) |
611 | #define __NR_sync_file_range (__NR_Linux + 264) | 613 | #define __NR_sync_file_range (__NR_Linux + 264) |
612 | #define __NR_tee (__NR_Linux + 265) | 614 | #define __NR_tee (__NR_Linux + 265) |
615 | #define __NR_vmsplice (__NR_Linux + 266) | ||
616 | #define __NR_move_pages (__NR_Linux + 267) | ||
613 | 617 | ||
614 | /* | 618 | /* |
615 | * Offset of the last Linux 64-bit flavoured syscall | 619 | * Offset of the last Linux 64-bit flavoured syscall |
616 | */ | 620 | */ |
617 | #define __NR_Linux_syscalls 265 | 621 | #define __NR_Linux_syscalls 267 |
618 | 622 | ||
619 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ | 623 | #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ |
620 | 624 | ||
621 | #define __NR_64_Linux 5000 | 625 | #define __NR_64_Linux 5000 |
622 | #define __NR_64_Linux_syscalls 265 | 626 | #define __NR_64_Linux_syscalls 267 |
623 | 627 | ||
624 | #if _MIPS_SIM == _MIPS_SIM_NABI32 | 628 | #if _MIPS_SIM == _MIPS_SIM_NABI32 |
625 | 629 | ||
@@ -897,16 +901,18 @@ | |||
897 | #define __NR_splice (__NR_Linux + 267) | 901 | #define __NR_splice (__NR_Linux + 267) |
898 | #define __NR_sync_file_range (__NR_Linux + 268) | 902 | #define __NR_sync_file_range (__NR_Linux + 268) |
899 | #define __NR_tee (__NR_Linux + 269) | 903 | #define __NR_tee (__NR_Linux + 269) |
904 | #define __NR_vmsplice (__NR_Linux + 270) | ||
905 | #define __NR_move_pages (__NR_Linux + 271) | ||
900 | 906 | ||
901 | /* | 907 | /* |
902 | * Offset of the last N32 flavoured syscall | 908 | * Offset of the last N32 flavoured syscall |
903 | */ | 909 | */ |
904 | #define __NR_Linux_syscalls 269 | 910 | #define __NR_Linux_syscalls 271 |
905 | 911 | ||
906 | #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ | 912 | #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ |
907 | 913 | ||
908 | #define __NR_N32_Linux 6000 | 914 | #define __NR_N32_Linux 6000 |
909 | #define __NR_N32_Linux_syscalls 269 | 915 | #define __NR_N32_Linux_syscalls 271 |
910 | 916 | ||
911 | #ifdef __KERNEL__ | 917 | #ifdef __KERNEL__ |
912 | 918 | ||