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
8213bbf9
Commit
8213bbf9
authored
Jul 20, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Rename MIPS sys_pipe syscall entry point to something MIPS-specific.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4914ad4a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
5 deletions
+12
-5
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+1
-1
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+1
-1
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
arch/mips/kernel/syscall.c
arch/mips/kernel/syscall.c
+8
-1
No files found.
arch/mips/kernel/scall32-o32.S
View file @
8213bbf9
...
@@ -354,7 +354,7 @@ einval: li v0, -EINVAL
...
@@ -354,7 +354,7 @@ einval: li v0, -EINVAL
sys
sys_mkdir
2
sys
sys_mkdir
2
sys
sys_rmdir
1
/*
4040
*/
sys
sys_rmdir
1
/*
4040
*/
sys
sys_dup
1
sys
sys_dup
1
sys
sys_pipe
0
sys
sys
m
_pipe
0
sys
sys_times
1
sys
sys_times
1
sys
sys_ni_syscall
0
sys
sys_ni_syscall
0
sys
sys_brk
1
/*
4045
*/
sys
sys_brk
1
/*
4045
*/
...
...
arch/mips/kernel/scall64-64.S
View file @
8213bbf9
...
@@ -219,7 +219,7 @@ sys_call_table:
...
@@ -219,7 +219,7 @@ sys_call_table:
PTR
sys_readv
PTR
sys_readv
PTR
sys_writev
PTR
sys_writev
PTR
sys_access
/*
5020
*/
PTR
sys_access
/*
5020
*/
PTR
sys_pipe
PTR
sys
m
_pipe
PTR
sys_select
PTR
sys_select
PTR
sys_sched_yield
PTR
sys_sched_yield
PTR
sys_mremap
PTR
sys_mremap
...
...
arch/mips/kernel/scall64-n32.S
View file @
8213bbf9
...
@@ -141,7 +141,7 @@ EXPORT(sysn32_call_table)
...
@@ -141,7 +141,7 @@ EXPORT(sysn32_call_table)
PTR
compat_sys_readv
PTR
compat_sys_readv
PTR
compat_sys_writev
PTR
compat_sys_writev
PTR
sys_access
/*
6020
*/
PTR
sys_access
/*
6020
*/
PTR
sys_pipe
PTR
sys
m
_pipe
PTR
compat_sys_select
PTR
compat_sys_select
PTR
sys_sched_yield
PTR
sys_sched_yield
PTR
sys_mremap
PTR
sys_mremap
...
...
arch/mips/kernel/scall64-o32.S
View file @
8213bbf9
...
@@ -247,7 +247,7 @@ sys_call_table:
...
@@ -247,7 +247,7 @@ sys_call_table:
PTR
sys_mkdir
PTR
sys_mkdir
PTR
sys_rmdir
/*
4040
*/
PTR
sys_rmdir
/*
4040
*/
PTR
sys_dup
PTR
sys_dup
PTR
sys_pipe
PTR
sys
m
_pipe
PTR
compat_sys_times
PTR
compat_sys_times
PTR
sys_ni_syscall
PTR
sys_ni_syscall
PTR
sys_brk
/*
4045
*/
PTR
sys_brk
/*
4045
*/
...
...
arch/mips/kernel/syscall.c
View file @
8213bbf9
...
@@ -40,7 +40,14 @@
...
@@ -40,7 +40,14 @@
#include <asm/sysmips.h>
#include <asm/sysmips.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
asmlinkage
int
sys_pipe
(
nabi_no_regargs
volatile
struct
pt_regs
regs
)
/*
* For historic reasons the pipe(2) syscall on MIPS has an unusual calling
* convention. It returns results in registers $v0 / $v1 which means there
* is no need for it to do verify the validity of a userspace pointer
* argument. Historically that used to be expensive in Linux. These days
* the performance advantage is negligible.
*/
asmlinkage
int
sysm_pipe
(
nabi_no_regargs
volatile
struct
pt_regs
regs
)
{
{
int
fd
[
2
];
int
fd
[
2
];
int
error
,
res
;
int
error
,
res
;
...
...
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