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
0450d22f
Commit
0450d22f
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mips: switch to generic compat sched_rr_get_interval()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
1910f4ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
18 deletions
+2
-18
arch/mips/kernel/linux32.c
arch/mips/kernel/linux32.c
+0
-16
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+1
-1
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+1
-1
No files found.
arch/mips/kernel/linux32.c
View file @
0450d22f
...
...
@@ -119,22 +119,6 @@ SYSCALL_DEFINE6(32_pwrite, unsigned int, fd, const char __user *, buf,
return
sys_pwrite64
(
fd
,
buf
,
count
,
merge_64
(
a4
,
a5
));
}
SYSCALL_DEFINE2
(
32
_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_user
(
t
.
tv_sec
,
&
interval
->
tv_sec
)
||
__put_user
(
t
.
tv_nsec
,
&
interval
->
tv_nsec
))
return
-
EFAULT
;
return
ret
;
}
#ifdef CONFIG_SYSVIPC
SYSCALL_DEFINE6
(
32
_ipc
,
u32
,
call
,
long
,
first
,
long
,
second
,
long
,
third
,
...
...
arch/mips/kernel/scall64-n32.S
View file @
0450d22f
...
...
@@ -249,7 +249,7 @@ EXPORT(sysn32_call_table)
PTR
sys_sched_getscheduler
PTR
sys_sched_get_priority_max
PTR
sys_sched_get_priority_min
PTR
sys_32
_sched_rr_get_interval
/*
6145
*/
PTR
compat_sys
_sched_rr_get_interval
/*
6145
*/
PTR
sys_mlock
PTR
sys_munlock
PTR
sys_mlockall
...
...
arch/mips/kernel/scall64-o32.S
View file @
0450d22f
...
...
@@ -357,7 +357,7 @@ sys_call_table:
PTR
sys_sched_yield
PTR
sys_sched_get_priority_max
PTR
sys_sched_get_priority_min
PTR
sys_32
_sched_rr_get_interval
/*
4165
*/
PTR
compat_sys
_sched_rr_get_interval
/*
4165
*/
PTR
compat_sys_nanosleep
PTR
sys_mremap
PTR
sys_accept
...
...
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