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
1bbf2875
Commit
1bbf2875
authored
Mar 25, 2011
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Wire up syncfs(2).
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
84ed9432
Changes
5
Show 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 @
1bbf2875
...
@@ -362,16 +362,17 @@
...
@@ -362,16 +362,17 @@
#define __NR_name_to_handle_at (__NR_Linux + 339)
#define __NR_name_to_handle_at (__NR_Linux + 339)
#define __NR_open_by_handle_at (__NR_Linux + 340)
#define __NR_open_by_handle_at (__NR_Linux + 340)
#define __NR_clock_adjtime (__NR_Linux + 341)
#define __NR_clock_adjtime (__NR_Linux + 341)
#define __NR_syncfs (__NR_Linux + 342)
/*
/*
* Offset of the last Linux o32 flavoured syscall
* Offset of the last Linux o32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 34
1
#define __NR_Linux_syscalls 34
2
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#define __NR_O32_Linux 4000
#define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls 34
1
#define __NR_O32_Linux_syscalls 34
2
#if _MIPS_SIM == _MIPS_SIM_ABI64
#if _MIPS_SIM == _MIPS_SIM_ABI64
...
@@ -680,16 +681,17 @@
...
@@ -680,16 +681,17 @@
#define __NR_name_to_handle_at (__NR_Linux + 298)
#define __NR_name_to_handle_at (__NR_Linux + 298)
#define __NR_open_by_handle_at (__NR_Linux + 299)
#define __NR_open_by_handle_at (__NR_Linux + 299)
#define __NR_clock_adjtime (__NR_Linux + 300)
#define __NR_clock_adjtime (__NR_Linux + 300)
#define __NR_syncfs (__NR_Linux + 301)
/*
/*
* Offset of the last Linux 64-bit flavoured syscall
* Offset of the last Linux 64-bit flavoured syscall
*/
*/
#define __NR_Linux_syscalls 30
0
#define __NR_Linux_syscalls 30
1
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#define __NR_64_Linux 5000
#define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 30
0
#define __NR_64_Linux_syscalls 30
1
#if _MIPS_SIM == _MIPS_SIM_NABI32
#if _MIPS_SIM == _MIPS_SIM_NABI32
...
@@ -1003,16 +1005,17 @@
...
@@ -1003,16 +1005,17 @@
#define __NR_name_to_handle_at (__NR_Linux + 303)
#define __NR_name_to_handle_at (__NR_Linux + 303)
#define __NR_open_by_handle_at (__NR_Linux + 304)
#define __NR_open_by_handle_at (__NR_Linux + 304)
#define __NR_clock_adjtime (__NR_Linux + 305)
#define __NR_clock_adjtime (__NR_Linux + 305)
#define __NR_clock_adjtime (__NR_Linux + 306)
/*
/*
* Offset of the last N32 flavoured syscall
* Offset of the last N32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 30
5
#define __NR_Linux_syscalls 30
6
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#define __NR_N32_Linux 6000
#define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 30
5
#define __NR_N32_Linux_syscalls 30
6
#ifdef __KERNEL__
#ifdef __KERNEL__
...
...
arch/mips/kernel/scall32-o32.S
View file @
1bbf2875
...
@@ -589,6 +589,7 @@ einval: li v0, -ENOSYS
...
@@ -589,6 +589,7 @@ einval: li v0, -ENOSYS
sys
sys_name_to_handle_at
5
sys
sys_name_to_handle_at
5
sys
sys_open_by_handle_at
3
/*
4340
*/
sys
sys_open_by_handle_at
3
/*
4340
*/
sys
sys_clock_adjtime
2
sys
sys_clock_adjtime
2
sys
sys_syncfs
1
.
endm
.
endm
/
*
We
pre
-
compute
the
number
of
_instruction_
bytes
needed
to
/
*
We
pre
-
compute
the
number
of
_instruction_
bytes
needed
to
...
...
arch/mips/kernel/scall64-64.S
View file @
1bbf2875
...
@@ -428,4 +428,5 @@ sys_call_table:
...
@@ -428,4 +428,5 @@ sys_call_table:
PTR
sys_name_to_handle_at
PTR
sys_name_to_handle_at
PTR
sys_open_by_handle_at
PTR
sys_open_by_handle_at
PTR
sys_clock_adjtime
/*
5300
*/
PTR
sys_clock_adjtime
/*
5300
*/
PTR
sys_syncfs
.
size
sys_call_table
,
.
-
sys_call_table
.
size
sys_call_table
,
.
-
sys_call_table
arch/mips/kernel/scall64-n32.S
View file @
1bbf2875
...
@@ -428,4 +428,5 @@ EXPORT(sysn32_call_table)
...
@@ -428,4 +428,5 @@ EXPORT(sysn32_call_table)
PTR
sys_name_to_handle_at
PTR
sys_name_to_handle_at
PTR
sys_open_by_handle_at
PTR
sys_open_by_handle_at
PTR
compat_sys_clock_adjtime
/*
6305
*/
PTR
compat_sys_clock_adjtime
/*
6305
*/
PTR
sys_syncfs
.
size
sysn32_call_table
,
.
-
sysn32_call_table
.
size
sysn32_call_table
,
.
-
sysn32_call_table
arch/mips/kernel/scall64-o32.S
View file @
1bbf2875
...
@@ -546,4 +546,5 @@ sys_call_table:
...
@@ -546,4 +546,5 @@ sys_call_table:
PTR
sys_name_to_handle_at
PTR
sys_name_to_handle_at
PTR
compat_sys_open_by_handle_at
/*
4340
*/
PTR
compat_sys_open_by_handle_at
/*
4340
*/
PTR
compat_sys_clock_adjtime
PTR
compat_sys_clock_adjtime
PTR
sys_syncfs
.
size
sys_call_table
,
.
-
sys_call_table
.
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