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
367f0b50
Commit
367f0b50
authored
May 13, 2014
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Wire up renameat2 syscall.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
8471ac1b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
3 deletions
+10
-3
arch/mips/include/uapi/asm/unistd.h
arch/mips/include/uapi/asm/unistd.h
+6
-3
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/uapi/asm/unistd.h
View file @
367f0b50
...
@@ -371,11 +371,12 @@
...
@@ -371,11 +371,12 @@
#define __NR_finit_module (__NR_Linux + 348)
#define __NR_finit_module (__NR_Linux + 348)
#define __NR_sched_setattr (__NR_Linux + 349)
#define __NR_sched_setattr (__NR_Linux + 349)
#define __NR_sched_getattr (__NR_Linux + 350)
#define __NR_sched_getattr (__NR_Linux + 350)
#define __NR_renameat2 (__NR_Linux + 351)
/*
/*
* Offset of the last Linux o32 flavoured syscall
* Offset of the last Linux o32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 35
0
#define __NR_Linux_syscalls 35
1
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
...
@@ -699,11 +700,12 @@
...
@@ -699,11 +700,12 @@
#define __NR_getdents64 (__NR_Linux + 308)
#define __NR_getdents64 (__NR_Linux + 308)
#define __NR_sched_setattr (__NR_Linux + 309)
#define __NR_sched_setattr (__NR_Linux + 309)
#define __NR_sched_getattr (__NR_Linux + 310)
#define __NR_sched_getattr (__NR_Linux + 310)
#define __NR_renameat2 (__NR_Linux + 311)
/*
/*
* Offset of the last Linux 64-bit flavoured syscall
* Offset of the last Linux 64-bit flavoured syscall
*/
*/
#define __NR_Linux_syscalls 31
0
#define __NR_Linux_syscalls 31
1
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
...
@@ -1031,11 +1033,12 @@
...
@@ -1031,11 +1033,12 @@
#define __NR_finit_module (__NR_Linux + 312)
#define __NR_finit_module (__NR_Linux + 312)
#define __NR_sched_setattr (__NR_Linux + 313)
#define __NR_sched_setattr (__NR_Linux + 313)
#define __NR_sched_getattr (__NR_Linux + 314)
#define __NR_sched_getattr (__NR_Linux + 314)
#define __NR_renameat2 (__NR_Linux + 315)
/*
/*
* Offset of the last N32 flavoured syscall
* Offset of the last N32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 31
4
#define __NR_Linux_syscalls 31
5
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
...
...
arch/mips/kernel/scall32-o32.S
View file @
367f0b50
...
@@ -577,3 +577,4 @@ EXPORT(sys_call_table)
...
@@ -577,3 +577,4 @@ EXPORT(sys_call_table)
PTR
sys_finit_module
PTR
sys_finit_module
PTR
sys_sched_setattr
PTR
sys_sched_setattr
PTR
sys_sched_getattr
/*
4350
*/
PTR
sys_sched_getattr
/*
4350
*/
PTR
sys_renameat2
arch/mips/kernel/scall64-64.S
View file @
367f0b50
...
@@ -430,4 +430,5 @@ EXPORT(sys_call_table)
...
@@ -430,4 +430,5 @@ EXPORT(sys_call_table)
PTR
sys_getdents64
PTR
sys_getdents64
PTR
sys_sched_setattr
PTR
sys_sched_setattr
PTR
sys_sched_getattr
/*
5310
*/
PTR
sys_sched_getattr
/*
5310
*/
PTR
sys_renameat2
.
size
sys_call_table
,
.
-
sys_call_table
.
size
sys_call_table
,
.
-
sys_call_table
arch/mips/kernel/scall64-n32.S
View file @
367f0b50
...
@@ -423,4 +423,5 @@ EXPORT(sysn32_call_table)
...
@@ -423,4 +423,5 @@ EXPORT(sysn32_call_table)
PTR
sys_finit_module
PTR
sys_finit_module
PTR
sys_sched_setattr
PTR
sys_sched_setattr
PTR
sys_sched_getattr
PTR
sys_sched_getattr
PTR
sys_renameat2
/*
6315
*/
.
size
sysn32_call_table
,
.
-
sysn32_call_table
.
size
sysn32_call_table
,
.
-
sysn32_call_table
arch/mips/kernel/scall64-o32.S
View file @
367f0b50
...
@@ -556,4 +556,5 @@ EXPORT(sys32_call_table)
...
@@ -556,4 +556,5 @@ EXPORT(sys32_call_table)
PTR
sys_finit_module
PTR
sys_finit_module
PTR
sys_sched_setattr
PTR
sys_sched_setattr
PTR
sys_sched_getattr
/*
4350
*/
PTR
sys_sched_getattr
/*
4350
*/
PTR
sys_renameat2
.
size
sys32_call_table
,
.
-
sys32_call_table
.
size
sys32_call_table
,
.
-
sys32_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