提交 f115da9c 编写于 作者: R Ralf Baechle

[MIPS] Wire splice syscall.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 84ada9f8
...@@ -634,6 +634,7 @@ einval: li v0, -EINVAL ...@@ -634,6 +634,7 @@ einval: li v0, -EINVAL
sys sys_pselect6 6 sys sys_pselect6 6
sys sys_ppoll 5 sys sys_ppoll 5
sys sys_unshare 1 sys sys_unshare 1
sys sys_splice 4
.endm .endm
/* We pre-compute the number of _instruction_ bytes needed to /* We pre-compute the number of _instruction_ bytes needed to
......
...@@ -460,3 +460,4 @@ sys_call_table: ...@@ -460,3 +460,4 @@ sys_call_table:
PTR sys_pselect6 /* 5260 */ PTR sys_pselect6 /* 5260 */
PTR sys_ppoll PTR sys_ppoll
PTR sys_unshare PTR sys_unshare
PTR sys_splice
...@@ -386,3 +386,4 @@ EXPORT(sysn32_call_table) ...@@ -386,3 +386,4 @@ EXPORT(sysn32_call_table)
PTR sys_pselect6 PTR sys_pselect6
PTR sys_ppoll /* 6265 */ PTR sys_ppoll /* 6265 */
PTR sys_unshare PTR sys_unshare
PTR sys_splice
...@@ -508,4 +508,5 @@ sys_call_table: ...@@ -508,4 +508,5 @@ sys_call_table:
PTR sys_pselect6 PTR sys_pselect6
PTR sys_ppoll PTR sys_ppoll
PTR sys_unshare PTR sys_unshare
PTR sys_splice
.size sys_call_table,.-sys_call_table .size sys_call_table,.-sys_call_table
...@@ -324,16 +324,17 @@ ...@@ -324,16 +324,17 @@
#define __NR_pselect6 (__NR_Linux + 301) #define __NR_pselect6 (__NR_Linux + 301)
#define __NR_ppoll (__NR_Linux + 302) #define __NR_ppoll (__NR_Linux + 302)
#define __NR_unshare (__NR_Linux + 303) #define __NR_unshare (__NR_Linux + 303)
#define __NR_splice (__NR_Linux + 304)
/* /*
* Offset of the last Linux o32 flavoured syscall * Offset of the last Linux o32 flavoured syscall
*/ */
#define __NR_Linux_syscalls 303 #define __NR_Linux_syscalls 304
#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
#define __NR_O32_Linux 4000 #define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls 303 #define __NR_O32_Linux_syscalls 304
#if _MIPS_SIM == _MIPS_SIM_ABI64 #if _MIPS_SIM == _MIPS_SIM_ABI64
...@@ -604,16 +605,17 @@ ...@@ -604,16 +605,17 @@
#define __NR_pselect6 (__NR_Linux + 260) #define __NR_pselect6 (__NR_Linux + 260)
#define __NR_ppoll (__NR_Linux + 261) #define __NR_ppoll (__NR_Linux + 261)
#define __NR_unshare (__NR_Linux + 262) #define __NR_unshare (__NR_Linux + 262)
#define __NR_splice (__NR_Linux + 263)
/* /*
* Offset of the last Linux 64-bit flavoured syscall * Offset of the last Linux 64-bit flavoured syscall
*/ */
#define __NR_Linux_syscalls 262 #define __NR_Linux_syscalls 263
#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
#define __NR_64_Linux 5000 #define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 262 #define __NR_64_Linux_syscalls 263
#if _MIPS_SIM == _MIPS_SIM_NABI32 #if _MIPS_SIM == _MIPS_SIM_NABI32
...@@ -888,16 +890,17 @@ ...@@ -888,16 +890,17 @@
#define __NR_pselect6 (__NR_Linux + 264) #define __NR_pselect6 (__NR_Linux + 264)
#define __NR_ppoll (__NR_Linux + 265) #define __NR_ppoll (__NR_Linux + 265)
#define __NR_unshare (__NR_Linux + 266) #define __NR_unshare (__NR_Linux + 266)
#define __NR_splice (__NR_Linux + 267)
/* /*
* Offset of the last N32 flavoured syscall * Offset of the last N32 flavoured syscall
*/ */
#define __NR_Linux_syscalls 266 #define __NR_Linux_syscalls 267
#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
#define __NR_N32_Linux 6000 #define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 266 #define __NR_N32_Linux_syscalls 267
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册