Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d7c43e4a
Commit
d7c43e4a
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: switch to generic compat sched_rr_get_interval()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
15ce1f71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
21 deletions
+1
-21
arch/x86/ia32/sys_ia32.c
arch/x86/ia32/sys_ia32.c
+0
-17
arch/x86/include/asm/sys_ia32.h
arch/x86/include/asm/sys_ia32.h
+0
-3
arch/x86/syscalls/syscall_32.tbl
arch/x86/syscalls/syscall_32.tbl
+1
-1
No files found.
arch/x86/ia32/sys_ia32.c
View file @
d7c43e4a
...
...
@@ -293,23 +293,6 @@ asmlinkage long sys32_waitpid(compat_pid_t pid, unsigned int __user *stat_addr,
return
compat_sys_wait4
(
pid
,
stat_addr
,
options
,
NULL
);
}
/* 32-bit timeval and related flotsam. */
asmlinkage
long
sys32_sched_rr_get_interval
(
compat_pid_t
pid
,
struct
compat_timespec
__user
*
interval
)
{
struct
timespec
t
;
int
ret
;
mm_segment_t
old_fs
=
get_fs
();
set_fs
(
KERNEL_DS
);
ret
=
sys_sched_rr_get_interval
(
pid
,
(
struct
timespec
__user
*
)
&
t
);
set_fs
(
old_fs
);
if
(
put_compat_timespec
(
&
t
,
interval
))
return
-
EFAULT
;
return
ret
;
}
/* warning: next two assume little endian */
asmlinkage
long
sys32_pread
(
unsigned
int
fd
,
char
__user
*
ubuf
,
u32
count
,
u32
poslo
,
u32
poshi
)
...
...
arch/x86/include/asm/sys_ia32.h
View file @
d7c43e4a
...
...
@@ -43,9 +43,6 @@ asmlinkage long sys32_alarm(unsigned int);
asmlinkage
long
sys32_waitpid
(
compat_pid_t
,
unsigned
int
__user
*
,
int
);
asmlinkage
long
sys32_sysfs
(
int
,
u32
,
u32
);
asmlinkage
long
sys32_sched_rr_get_interval
(
compat_pid_t
,
struct
compat_timespec
__user
*
);
asmlinkage
long
sys32_pread
(
unsigned
int
,
char
__user
*
,
u32
,
u32
,
u32
);
asmlinkage
long
sys32_pwrite
(
unsigned
int
,
const
char
__user
*
,
u32
,
u32
,
u32
);
...
...
arch/x86/syscalls/syscall_32.tbl
View file @
d7c43e4a
...
...
@@ -167,7 +167,7 @@
158 i386 sched_yield sys_sched_yield
159 i386 sched_get_priority_max sys_sched_get_priority_max
160 i386 sched_get_priority_min sys_sched_get_priority_min
161 i386 sched_rr_get_interval sys_sched_rr_get_interval
sys32
_sched_rr_get_interval
161 i386 sched_rr_get_interval sys_sched_rr_get_interval
compat_sys
_sched_rr_get_interval
162 i386 nanosleep sys_nanosleep compat_sys_nanosleep
163 i386 mremap sys_mremap
164 i386 setresuid sys_setresuid16
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment