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
d7b5427c
Commit
d7b5427c
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s390: switch to generic compat sched_rr_get_interval()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
e181ee4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
19 deletions
+1
-19
arch/s390/kernel/compat_linux.c
arch/s390/kernel/compat_linux.c
+0
-16
arch/s390/kernel/compat_linux.h
arch/s390/kernel/compat_linux.h
+0
-2
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/compat_wrapper.S
+1
-1
No files found.
arch/s390/kernel/compat_linux.c
View file @
d7b5427c
...
...
@@ -352,22 +352,6 @@ asmlinkage long sys32_ftruncate64(unsigned int fd, unsigned long high, unsigned
return
sys_ftruncate
(
fd
,
(
high
<<
32
)
|
low
);
}
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
__force
__user
*
)
&
t
);
set_fs
(
old_fs
);
if
(
put_compat_timespec
(
&
t
,
interval
))
return
-
EFAULT
;
return
ret
;
}
asmlinkage
long
sys32_pread64
(
unsigned
int
fd
,
char
__user
*
ubuf
,
size_t
count
,
u32
poshi
,
u32
poslo
)
{
...
...
arch/s390/kernel/compat_linux.h
View file @
d7b5427c
...
...
@@ -113,8 +113,6 @@ long sys32_ipc(u32 call, int first, int second, int third, u32 ptr);
long
sys32_truncate64
(
const
char
__user
*
path
,
unsigned
long
high
,
unsigned
long
low
);
long
sys32_ftruncate64
(
unsigned
int
fd
,
unsigned
long
high
,
unsigned
long
low
);
long
sys32_sched_rr_get_interval
(
compat_pid_t
pid
,
struct
compat_timespec
__user
*
interval
);
long
sys32_init_module
(
void
__user
*
umod
,
unsigned
long
len
,
const
char
__user
*
uargs
);
long
sys32_delete_module
(
const
char
__user
*
name_user
,
unsigned
int
flags
);
...
...
arch/s390/kernel/compat_wrapper.S
View file @
d7b5427c
...
...
@@ -631,7 +631,7 @@ ENTRY(sys32_sched_get_priority_min_wrapper)
ENTRY
(
sys32_sched_rr_get_interval_wrapper
)
lgfr
%
r2
,%
r2
#
pid_t
llgtr
%
r3
,%
r3
#
struct
compat_timespec
*
jg
sys32
_sched_rr_get_interval
#
branch
to
system
call
jg
compat_sys
_sched_rr_get_interval
#
branch
to
system
call
ENTRY
(
compat_sys_nanosleep_wrapper
)
llgtr
%
r2
,%
r2
#
struct
compat_timespec
*
...
...
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