Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
7540c8eb
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
7540c8eb
编写于
12月 24, 2012
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sparc: COMPAT_SYSCALL_DEFINE does all sign-extension as well as SYSCALL_DEFINE
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
5250a8bb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
18 deletion
+8
-18
arch/sparc/kernel/sys32.S
arch/sparc/kernel/sys32.S
+0
-10
arch/sparc/kernel/systbls_64.S
arch/sparc/kernel/systbls_64.S
+8
-8
未找到文件。
arch/sparc/kernel/sys32.S
浏览文件 @
7540c8eb
...
...
@@ -36,14 +36,6 @@ STUB: sra REG1, 0, REG1; \
jmpl
%
g1
+
%
lo
(
SYSCALL
),
%
g0
; \
sra
REG3
,
0
,
REG3
SIGN1
(
sys32_wait4
,
compat_sys_wait4
,
%
o2
)
SIGN1
(
sys32_setitimer
,
compat_sys_setitimer
,
%
o0
)
SIGN1
(
sys32_getitimer
,
compat_sys_getitimer
,
%
o0
)
SIGN1
(
sys32_sigaction
,
compat_sys_sparc_sigaction
,
%
o0
)
SIGN1
(
sys32_rt_sigaction
,
compat_sys_rt_sigaction
,
%
o0
)
SIGN1
(
sys32_sigprocmask
,
compat_sys_sigprocmask
,
%
o0
)
SIGN1
(
sys32_rt_sigprocmask
,
compat_sys_rt_sigprocmask
,
%
o0
)
SIGN2
(
sys32_rt_sigqueueinfo
,
compat_sys_rt_sigqueueinfo
,
%
o0
,
%
o1
)
SIGN1
(
sys32_getrusage
,
compat_sys_getrusage
,
%
o0
)
SIGN1
(
sys32_readahead
,
compat_sys_readahead
,
%
o0
)
SIGN2
(
sys32_fadvise64
,
compat_sys_fadvise64
,
%
o0
,
%
o4
)
...
...
@@ -55,8 +47,6 @@ SIGN1(sys32_mq_open, compat_sys_mq_open, %o1)
SIGN1
(
sys32_select
,
compat_sys_select
,
%
o0
)
SIGN3
(
sys32_futex
,
compat_sys_futex
,
%
o1
,
%
o2
,
%
o5
)
SIGN2
(
sys32_sendfile
,
compat_sys_sendfile
,
%
o0
,
%
o1
)
SIGN1
(
sys32_sched_rr_get_interval
,
compat_sys_sched_rr_get_interval
,
%
o0
)
SIGN2
(
sys32_open
,
compat_sys_open
,
%
o1
,
%
o2
)
SIGN1
(
sys32_recvfrom
,
compat_sys_recvfrom
,
%
o0
)
SIGN1
(
sys32_recvmsg
,
compat_sys_recvmsg
,
%
o0
)
SIGN1
(
sys32_sendmsg
,
compat_sys_sendmsg
,
%
o0
)
...
...
arch/sparc/kernel/systbls_64.S
浏览文件 @
7540c8eb
...
...
@@ -19,7 +19,7 @@
.
globl
sys_call_table32
sys_call_table32
:
/*
0
*/
.
word
sys_restart_syscall
,
sparc_exit
,
sys_fork
,
sys_read
,
sys_write
/*
5
*/
.
word
sys32_open
,
sys_close
,
sys32
_wait4
,
sys_creat
,
sys_link
/*
5
*/
.
word
compat_sys_open
,
sys_close
,
compat_sys
_wait4
,
sys_creat
,
sys_link
/*
10
*/
.
word
sys_unlink
,
sunos_execv
,
sys_chdir
,
sys_chown16
,
sys_mknod
/*
15
*/
.
word
sys_chmod
,
sys_lchown16
,
sys_brk
,
sys_nis_syscall
,
sys_lseek
/*
20
*/
.
word
sys_getpid
,
sys_capget
,
sys_capset
,
sys_setuid16
,
sys_getuid16
...
...
@@ -34,12 +34,12 @@ sys_call_table32:
.
word
sys_msync
,
sys_vfork
,
sys32_pread64
,
sys32_pwrite64
,
sys_geteuid
/*
70
*/
.
word
sys_getegid
,
sys_mmap
,
sys_setreuid
,
sys_munmap
,
sys_mprotect
.
word
sys_madvise
,
sys_vhangup
,
sys32_truncate64
,
sys_mincore
,
sys_getgroups16
/*
80
*/
.
word
sys_setgroups16
,
sys_getpgrp
,
sys_setgroups
,
sys32
_setitimer
,
sys32_ftruncate64
.
word
sys_swapon
,
sys32
_getitimer
,
sys_setuid
,
sys_sethostname
,
sys_setgid
/*
80
*/
.
word
sys_setgroups16
,
sys_getpgrp
,
sys_setgroups
,
compat_sys
_setitimer
,
sys32_ftruncate64
.
word
sys_swapon
,
compat_sys
_getitimer
,
sys_setuid
,
sys_sethostname
,
sys_setgid
/*
90
*/
.
word
sys_dup2
,
sys_setfsuid
,
compat_sys_fcntl
,
sys32_select
,
sys_setfsgid
.
word
sys_fsync
,
sys_setpriority
,
sys_nis_syscall
,
sys_nis_syscall
,
sys_nis_syscall
/*
100
*/
.
word
sys_getpriority
,
sys32_rt_sigreturn
,
sys32_rt_sigaction
,
sys32
_rt_sigprocmask
,
compat_sys_rt_sigpending
.
word
compat_sys_rt_sigtimedwait
,
sys32
_rt_sigqueueinfo
,
compat_sys_rt_sigsuspend
,
sys_setresuid
,
sys_getresuid
/*
100
*/
.
word
sys_getpriority
,
sys32_rt_sigreturn
,
compat_sys_rt_sigaction
,
compat_sys
_rt_sigprocmask
,
compat_sys_rt_sigpending
.
word
compat_sys_rt_sigtimedwait
,
compat_sys
_rt_sigqueueinfo
,
compat_sys_rt_sigsuspend
,
sys_setresuid
,
sys_getresuid
/*
110
*/
.
word
sys_setresgid
,
sys_getresgid
,
sys_setregid
,
sys_nis_syscall
,
sys_nis_syscall
.
word
sys_getgroups
,
compat_sys_gettimeofday
,
sys32_getrusage
,
sys_nis_syscall
,
sys_getcwd
/*
120
*/
.
word
compat_sys_readv
,
compat_sys_writev
,
compat_sys_settimeofday
,
sys_fchown16
,
sys_fchmod
...
...
@@ -57,17 +57,17 @@ sys_call_table32:
/*
180
*/
.
word
sys_flistxattr
,
sys_removexattr
,
sys_lremovexattr
,
compat_sys_sigpending
,
sys_ni_syscall
.
word
sys_setpgid
,
sys_fremovexattr
,
sys_tkill
,
sparc_exit_group
,
sys_newuname
/*
190
*/
.
word
sys_init_module
,
sys_sparc64_personality
,
sys_remap_file_pages
,
sys_epoll_create
,
sys_epoll_ctl
.
word
sys_epoll_wait
,
sys_ioprio_set
,
sys_getppid
,
sys32
_sigaction
,
sys_sgetmask
.
word
sys_epoll_wait
,
sys_ioprio_set
,
sys_getppid
,
compat_sys_sparc
_sigaction
,
sys_sgetmask
/*
200
*/
.
word
sys_ssetmask
,
sys_sigsuspend
,
compat_sys_newlstat
,
sys_uselib
,
compat_sys_old_readdir
.
word
sys32_readahead
,
sys32_socketcall
,
sys_syslog
,
sys32_lookup_dcookie
,
sys32_fadvise64
/*
210
*/
.
word
sys32_fadvise64_64
,
sys_tgkill
,
sys_waitpid
,
sys_swapoff
,
compat_sys_sysinfo
.
word
compat_sys_ipc
,
sys32_sigreturn
,
sys_clone
,
sys_ioprio_get
,
compat_sys_adjtimex
/*
220
*/
.
word
sys32
_sigprocmask
,
sys_ni_syscall
,
sys_delete_module
,
sys_ni_syscall
,
sys_getpgid
/*
220
*/
.
word
compat_sys
_sigprocmask
,
sys_ni_syscall
,
sys_delete_module
,
sys_ni_syscall
,
sys_getpgid
.
word
sys_bdflush
,
sys_sysfs
,
sys_nis_syscall
,
sys_setfsuid16
,
sys_setfsgid16
/*
230
*/
.
word
sys32_select
,
compat_sys_time
,
sys_splice
,
compat_sys_stime
,
compat_sys_statfs64
.
word
compat_sys_fstatfs64
,
sys_llseek
,
sys_mlock
,
sys_munlock
,
sys_mlockall
/*
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
,
sys32
_sched_rr_get_interval
,
compat_sys_nanosleep
.
word
sys_sched_yield
,
sys_sched_get_priority_max
,
sys_sched_get_priority_min
,
compat_sys
_sched_rr_get_interval
,
compat_sys_nanosleep
/*
250
*/
.
word
sys_mremap
,
compat_sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nis_syscall
.
word
sys32_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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录