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
54822de7
Commit
54822de7
authored
Aug 03, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Wire up accept4 syscall.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ce21f4e8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
6 deletions
+13
-6
arch/mips/include/asm/unistd.h
arch/mips/include/asm/unistd.h
+9
-6
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+1
-0
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+1
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+1
-0
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+1
-0
No files found.
arch/mips/include/asm/unistd.h
View file @
54822de7
...
...
@@ -354,16 +354,17 @@
#define __NR_pwritev (__NR_Linux + 331)
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 332)
#define __NR_perf_counter_open (__NR_Linux + 333)
#define __NR_accept4 (__NR_Linux + 334)
/*
* Offset of the last Linux o32 flavoured syscall
*/
#define __NR_Linux_syscalls 33
3
#define __NR_Linux_syscalls 33
4
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls 33
3
#define __NR_O32_Linux_syscalls 33
4
#if _MIPS_SIM == _MIPS_SIM_ABI64
...
...
@@ -664,16 +665,17 @@
#define __NR_pwritev (__NR_Linux + 290)
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 291)
#define __NR_perf_counter_open (__NR_Linux + 292)
#define __NR_accept4 (__NR_Linux + 293)
/*
* Offset of the last Linux 64-bit flavoured syscall
*/
#define __NR_Linux_syscalls 29
2
#define __NR_Linux_syscalls 29
3
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 29
2
#define __NR_64_Linux_syscalls 29
3
#if _MIPS_SIM == _MIPS_SIM_NABI32
...
...
@@ -978,16 +980,17 @@
#define __NR_pwritev (__NR_Linux + 294)
#define __NR_rt_tgsigqueueinfo (__NR_Linux + 295)
#define __NR_perf_counter_open (__NR_Linux + 296)
#define __NR_accept4 (__NR_Linux + 297)
/*
* Offset of the last N32 flavoured syscall
*/
#define __NR_Linux_syscalls 29
6
#define __NR_Linux_syscalls 29
7
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 29
6
#define __NR_N32_Linux_syscalls 29
7
#ifdef __KERNEL__
...
...
arch/mips/kernel/scall32-o32.S
View file @
54822de7
...
...
@@ -654,6 +654,7 @@ einval: li v0, -ENOSYS
sys
sys_pwritev
6
sys
sys_rt_tgsigqueueinfo
4
sys
sys_perf_counter_open
5
sys
sys_accept4
4
.
endm
/
*
We
pre
-
compute
the
number
of
_instruction_
bytes
needed
to
...
...
arch/mips/kernel/scall64-64.S
View file @
54822de7
...
...
@@ -491,4 +491,5 @@ sys_call_table:
PTR
sys_pwritev
/*
5390
*/
PTR
sys_rt_tgsigqueueinfo
PTR
sys_perf_counter_open
PTR
sys_accept4
.
size
sys_call_table
,
.
-
sys_call_table
arch/mips/kernel/scall64-n32.S
View file @
54822de7
...
...
@@ -417,4 +417,5 @@ EXPORT(sysn32_call_table)
PTR
sys_pwritev
PTR
compat_sys_rt_tgsigqueueinfo
/*
5295
*/
PTR
sys_perf_counter_open
PTR
sys_accept4
.
size
sysn32_call_table
,
.
-
sysn32_call_table
arch/mips/kernel/scall64-o32.S
View file @
54822de7
...
...
@@ -537,4 +537,5 @@ sys_call_table:
PTR
compat_sys_pwritev
PTR
compat_sys_rt_tgsigqueueinfo
PTR
sys_perf_counter_open
PTR
sys_accept4
.
size
sys_call_table
,
.
-
sys_call_table
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