Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
440537ef
Commit
440537ef
authored
Feb 27, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] N32 waitid is the same as o32.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
bb648a0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
arch/mips/kernel/linux32.c
arch/mips/kernel/linux32.c
+0
-28
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+1
-1
No files found.
arch/mips/kernel/linux32.c
View file @
440537ef
...
@@ -166,34 +166,6 @@ out:
...
@@ -166,34 +166,6 @@ out:
return
error
;
return
error
;
}
}
asmlinkage
long
sysn32_waitid
(
int
which
,
compat_pid_t
pid
,
siginfo_t
__user
*
uinfo
,
int
options
,
struct
compat_rusage
__user
*
uru
)
{
struct
rusage
ru
;
long
ret
;
mm_segment_t
old_fs
=
get_fs
();
int
si_signo
;
if
(
!
access_ok
(
VERIFY_WRITE
,
uinfo
,
sizeof
(
*
uinfo
)))
return
-
EFAULT
;
set_fs
(
KERNEL_DS
);
ret
=
sys_waitid
(
which
,
pid
,
uinfo
,
options
,
uru
?
(
struct
rusage
__user
*
)
&
ru
:
NULL
);
set_fs
(
old_fs
);
if
(
__get_user
(
si_signo
,
&
uinfo
->
si_signo
))
return
-
EFAULT
;
if
(
ret
<
0
||
si_signo
==
0
)
return
ret
;
if
(
uru
)
ret
=
put_compat_rusage
(
&
ru
,
uru
);
return
ret
;
}
#define RLIM_INFINITY32 0x7fffffff
#define RLIM_INFINITY32 0x7fffffff
#define RESOURCE32(x) ((x > RLIM_INFINITY32) ? RLIM_INFINITY32 : x)
#define RESOURCE32(x) ((x > RLIM_INFINITY32) ? RLIM_INFINITY32 : x)
...
...
arch/mips/kernel/scall64-n32.S
View file @
440537ef
...
@@ -361,7 +361,7 @@ EXPORT(sysn32_call_table)
...
@@ -361,7 +361,7 @@ EXPORT(sysn32_call_table)
PTR
compat_sys_mq_notify
PTR
compat_sys_mq_notify
PTR
compat_sys_mq_getsetattr
PTR
compat_sys_mq_getsetattr
PTR
sys_ni_syscall
/*
6240
,
sys_vserver
*/
PTR
sys_ni_syscall
/*
6240
,
sys_vserver
*/
PTR
sysn32
_waitid
PTR
compat_sys
_waitid
PTR
sys_ni_syscall
/*
available
,
was
setaltroot
*/
PTR
sys_ni_syscall
/*
available
,
was
setaltroot
*/
PTR
sys_add_key
PTR
sys_add_key
PTR
sys_request_key
PTR
sys_request_key
...
...
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