Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
62d8e644
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
62d8e644
编写于
4月 03, 2016
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MIPS: Wire up preadv2 and pwrite2 syscalls.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
e95008a1
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
20 addition
and
6 deletion
+20
-6
arch/mips/include/uapi/asm/unistd.h
arch/mips/include/uapi/asm/unistd.h
+12
-6
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+2
-0
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+2
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+2
-0
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+2
-0
未找到文件。
arch/mips/include/uapi/asm/unistd.h
浏览文件 @
62d8e644
...
@@ -381,16 +381,18 @@
...
@@ -381,16 +381,18 @@
#define __NR_membarrier (__NR_Linux + 358)
#define __NR_membarrier (__NR_Linux + 358)
#define __NR_mlock2 (__NR_Linux + 359)
#define __NR_mlock2 (__NR_Linux + 359)
#define __NR_copy_file_range (__NR_Linux + 360)
#define __NR_copy_file_range (__NR_Linux + 360)
#define __NR_preadv2 (__NR_Linux + 361)
#define __NR_pwritev2 (__NR_Linux + 362)
/*
/*
* Offset of the last Linux o32 flavoured syscall
* Offset of the last Linux o32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 36
0
#define __NR_Linux_syscalls 36
2
#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 36
0
#define __NR_O32_Linux_syscalls 36
2
#if _MIPS_SIM == _MIPS_SIM_ABI64
#if _MIPS_SIM == _MIPS_SIM_ABI64
...
@@ -719,16 +721,18 @@
...
@@ -719,16 +721,18 @@
#define __NR_membarrier (__NR_Linux + 318)
#define __NR_membarrier (__NR_Linux + 318)
#define __NR_mlock2 (__NR_Linux + 319)
#define __NR_mlock2 (__NR_Linux + 319)
#define __NR_copy_file_range (__NR_Linux + 320)
#define __NR_copy_file_range (__NR_Linux + 320)
#define __NR_preadv2 (__NR_Linux + 321)
#define __NR_pwritev2 (__NR_Linux + 322)
/*
/*
* Offset of the last Linux 64-bit flavoured syscall
* Offset of the last Linux 64-bit flavoured syscall
*/
*/
#define __NR_Linux_syscalls 32
0
#define __NR_Linux_syscalls 32
2
#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 32
0
#define __NR_64_Linux_syscalls 32
2
#if _MIPS_SIM == _MIPS_SIM_NABI32
#if _MIPS_SIM == _MIPS_SIM_NABI32
...
@@ -1061,15 +1065,17 @@
...
@@ -1061,15 +1065,17 @@
#define __NR_membarrier (__NR_Linux + 322)
#define __NR_membarrier (__NR_Linux + 322)
#define __NR_mlock2 (__NR_Linux + 323)
#define __NR_mlock2 (__NR_Linux + 323)
#define __NR_copy_file_range (__NR_Linux + 324)
#define __NR_copy_file_range (__NR_Linux + 324)
#define __NR_preadv2 (__NR_Linux + 325)
#define __NR_pwritev2 (__NR_Linux + 326)
/*
/*
* Offset of the last N32 flavoured syscall
* Offset of the last N32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 32
4
#define __NR_Linux_syscalls 32
6
#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 32
4
#define __NR_N32_Linux_syscalls 32
6
#endif
/* _UAPI_ASM_UNISTD_H */
#endif
/* _UAPI_ASM_UNISTD_H */
arch/mips/kernel/scall32-o32.S
浏览文件 @
62d8e644
...
@@ -596,3 +596,5 @@ EXPORT(sys_call_table)
...
@@ -596,3 +596,5 @@ EXPORT(sys_call_table)
PTR
sys_membarrier
PTR
sys_membarrier
PTR
sys_mlock2
PTR
sys_mlock2
PTR
sys_copy_file_range
/*
4360
*/
PTR
sys_copy_file_range
/*
4360
*/
PTR
sys_preadv2
PTR
sys_pwritev2
arch/mips/kernel/scall64-64.S
浏览文件 @
62d8e644
...
@@ -434,4 +434,6 @@ EXPORT(sys_call_table)
...
@@ -434,4 +434,6 @@ EXPORT(sys_call_table)
PTR
sys_membarrier
PTR
sys_membarrier
PTR
sys_mlock2
PTR
sys_mlock2
PTR
sys_copy_file_range
/*
5320
*/
PTR
sys_copy_file_range
/*
5320
*/
PTR
sys_preadv2
PTR
sys_pwritev2
.
size
sys_call_table
,
.
-
sys_call_table
.
size
sys_call_table
,
.
-
sys_call_table
arch/mips/kernel/scall64-n32.S
浏览文件 @
62d8e644
...
@@ -424,4 +424,6 @@ EXPORT(sysn32_call_table)
...
@@ -424,4 +424,6 @@ EXPORT(sysn32_call_table)
PTR
sys_membarrier
PTR
sys_membarrier
PTR
sys_mlock2
PTR
sys_mlock2
PTR
sys_copy_file_range
PTR
sys_copy_file_range
PTR
compat_sys_preadv2
/*
6325
*/
PTR
compat_sys_pwritev2
.
size
sysn32_call_table
,
.
-
sysn32_call_table
.
size
sysn32_call_table
,
.
-
sysn32_call_table
arch/mips/kernel/scall64-o32.S
浏览文件 @
62d8e644
...
@@ -579,4 +579,6 @@ EXPORT(sys32_call_table)
...
@@ -579,4 +579,6 @@ EXPORT(sys32_call_table)
PTR
sys_membarrier
PTR
sys_membarrier
PTR
sys_mlock2
PTR
sys_mlock2
PTR
sys_copy_file_range
/*
4360
*/
PTR
sys_copy_file_range
/*
4360
*/
PTR
compat_sys_preadv2
PTR
compat_sys_pwritev2
.
size
sys32_call_table
,
.
-
sys32_call_table
.
size
sys32_call_table
,
.
-
sys32_call_table
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录