Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
289eee6f
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
289eee6f
编写于
3月 31, 2006
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SPARC]: Wire up sys_sync_file_range() into syscall tables.
Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
1339713a
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
6 deletion
+15
-6
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+1
-1
arch/sparc64/kernel/sys32.S
arch/sparc64/kernel/sys32.S
+1
-0
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+8
-0
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+2
-2
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+2
-2
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+1
-1
未找到文件。
arch/sparc/kernel/systbls.S
浏览文件 @
289eee6f
...
...
@@ -70,7 +70,7 @@ sys_call_table:
/*
240
*/
.
long
sys_munlockall
,
sys_sched_setparam
,
sys_sched_getparam
,
sys_sched_setscheduler
,
sys_sched_getscheduler
/*
245
*/
.
long
sys_sched_yield
,
sys_sched_get_priority_max
,
sys_sched_get_priority_min
,
sys_sched_rr_get_interval
,
sys_nanosleep
/*
250
*/
.
long
sparc_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
/*
255
*/
.
long
sys_
nis_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
255
*/
.
long
sys_
sync_file_range
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
260
*/
.
long
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
/*
265
*/
.
long
sys_timer_delete
,
sys_timer_create
,
sys_nis_syscall
,
sys_io_setup
,
sys_io_destroy
/*
270
*/
.
long
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
...
...
arch/sparc64/kernel/sys32.S
浏览文件 @
289eee6f
...
...
@@ -137,6 +137,7 @@ SIGN1(sys32_getsockname, sys_getsockname, %o0)
SIGN2
(
sys32_ioprio_get
,
sys_ioprio_get
,
%
o0
,
%
o1
)
SIGN3
(
sys32_ioprio_set
,
sys_ioprio_set
,
%
o0
,
%
o1
,
%
o2
)
SIGN2
(
sys32_splice
,
sys_splice
,
%
o0
,
%
o1
)
SIGN2
(
sys32_sync_file_range
,
compat_sync_file_range
,
%
o0
,
%
o5
)
.
globl
sys32_mmap2
sys32_mmap2
:
...
...
arch/sparc64/kernel/sys_sparc32.c
浏览文件 @
289eee6f
...
...
@@ -1069,3 +1069,11 @@ long sys32_lookup_dcookie(unsigned long cookie_high,
return
sys_lookup_dcookie
((
cookie_high
<<
32
)
|
cookie_low
,
buf
,
len
);
}
long
compat_sync_file_range
(
int
fd
,
unsigned
long
off_high
,
unsigned
long
off_low
,
unsigned
long
nb_high
,
unsigned
long
nb_low
,
int
flags
)
{
return
sys_sync_file_range
(
fd
,
(
off_high
<<
32
)
|
off_low
,
(
nb_high
<<
32
)
|
nb_low
,
flags
);
}
arch/sparc64/kernel/systbls.S
浏览文件 @
289eee6f
...
...
@@ -71,7 +71,7 @@ sys_call_table32:
/*
240
*/
.
word
sys_munlockall
,
sys32_sched_setparam
,
sys32_sched_getparam
,
sys32_sched_setscheduler
,
sys32_sched_getscheduler
.
word
sys_sched_yield
,
sys32_sched_get_priority_max
,
sys32_sched_get_priority_min
,
sys32_sched_rr_get_interval
,
compat_sys_nanosleep
/*
250
*/
.
word
sys32_mremap
,
sys32_sysctl
,
sys32_getsid
,
sys_fdatasync
,
sys32_nfsservctl
.
word
sys
_ni_syscall
,
compat_sys_clock_settime
,
compat_sys_clock_gettime
,
compat_sys_clock_getres
,
sys32_clock_nanosleep
.
word
sys
32_sync_file_range
,
compat_sys_clock_settime
,
compat_sys_clock_gettime
,
compat_sys_clock_getres
,
sys32_clock_nanosleep
/*
260
*/
.
word
compat_sys_sched_getaffinity
,
compat_sys_sched_setaffinity
,
sys32_timer_settime
,
compat_sys_timer_gettime
,
sys_timer_getoverrun
.
word
sys_timer_delete
,
compat_sys_timer_create
,
sys_ni_syscall
,
compat_sys_io_setup
,
sys_io_destroy
/*
270
*/
.
word
sys32_io_submit
,
sys_io_cancel
,
compat_sys_io_getevents
,
sys32_mq_open
,
sys_mq_unlink
...
...
@@ -140,7 +140,7 @@ sys_call_table:
/*
240
*/
.
word
sys_munlockall
,
sys_sched_setparam
,
sys_sched_getparam
,
sys_sched_setscheduler
,
sys_sched_getscheduler
.
word
sys_sched_yield
,
sys_sched_get_priority_max
,
sys_sched_get_priority_min
,
sys_sched_rr_get_interval
,
sys_nanosleep
/*
250
*/
.
word
sys64_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
.
word
sys_
ni_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
.
word
sys_
sync_file_range
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
260
*/
.
word
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
.
word
sys_timer_delete
,
sys_timer_create
,
sys_ni_syscall
,
sys_io_setup
,
sys_io_destroy
/*
270
*/
.
word
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
...
...
include/asm-sparc/unistd.h
浏览文件 @
289eee6f
...
...
@@ -180,7 +180,7 @@
#define __NR_sched_get_affinity 161
/* Linux specific, getfh under SunOS */
#define __NR_getdomainname 162
/* SunOS Specific */
#define __NR_setdomainname 163
/* Common */
/* #define __NR_
ni_syscall 164 ENOSYS under SunOS
*/
/* #define __NR_
utrap_install 164 Linux sparc64 specific
*/
#define __NR_quotactl 165
/* Common */
#define __NR_set_tid_address 166
/* Linux specific, exportfs under SunOS */
#define __NR_mount 167
/* Common */
...
...
@@ -271,7 +271,7 @@
#define __NR_getsid 252
#define __NR_fdatasync 253
#define __NR_nfsservctl 254
#define __NR_
aplib
255
#define __NR_
sys_sync_file_range
255
#define __NR_clock_settime 256
#define __NR_clock_gettime 257
#define __NR_clock_getres 258
...
...
include/asm-sparc64/unistd.h
浏览文件 @
289eee6f
...
...
@@ -273,7 +273,7 @@
#define __NR_getsid 252
#define __NR_fdatasync 253
#define __NR_nfsservctl 254
#define __NR_
aplib
255
#define __NR_
sys_sync_file_range
255
#define __NR_clock_settime 256
#define __NR_clock_gettime 257
#define __NR_clock_getres 258
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录