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
7db36c85
Commit
7db36c85
authored
Jul 13, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add inotify syscalls for MIPS.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ec74e361
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
4 deletions
+25
-4
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+3
-1
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+3
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+3
-0
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+3
-0
include/asm-mips/unistd.h
include/asm-mips/unistd.h
+13
-3
No files found.
arch/mips/kernel/scall32-o32.S
View file @
7db36c85
...
...
@@ -624,7 +624,9 @@ einval: li v0, -EINVAL
sys
sys_request_key
4
sys
sys_keyctl
5
sys
sys_set_thread_area
1
sys
sys_inotify_init
0
sys
sys_inotify_add_watch
3
/*
4285
*/
sys
sys_inotify_rm_watch
2
.
endm
/
*
We
pre
-
compute
the
number
of
_instruction_
bytes
needed
to
...
...
arch/mips/kernel/scall64-64.S
View file @
7db36c85
...
...
@@ -450,3 +450,6 @@ sys_call_table:
PTR
sys_request_key
/*
5240
*/
PTR
sys_keyctl
PTR
sys_set_thread_area
PTR
sys_inotify_init
PTR
sys_inotify_add_watch
PTR
sys_inotify_rm_watch
/*
5245
*/
arch/mips/kernel/scall64-n32.S
View file @
7db36c85
...
...
@@ -364,3 +364,6 @@ EXPORT(sysn32_call_table)
PTR
sys_request_key
PTR
sys_keyctl
/*
6245
*/
PTR
sys_set_thread_area
sys
sys_inotify_init
sys
sys_inotify_add_watch
sys
sys_inotify_rm_watch
arch/mips/kernel/scall64-o32.S
View file @
7db36c85
...
...
@@ -486,4 +486,7 @@ sys_call_table:
PTR
sys_request_key
PTR
sys_keyctl
PTR
sys_set_thread_area
PTR
sys_inotify_init
PTR
sys_inotify_add_watch
/*
4285
*/
PTR
sys_inotify_rm_watch
.
size
sys_call_table
,
.
-
sys_call_table
include/asm-mips/unistd.h
View file @
7db36c85
...
...
@@ -304,11 +304,15 @@
#define __NR_request_key (__NR_Linux + 281)
#define __NR_keyctl (__NR_Linux + 282)
#define __NR_set_thread_area (__NR_Linux + 283)
#define __NR_inotify_init (__NR_Linux + 284)
#define __NR_inotify_add_watch (__NR_Linux + 285)
#define __NR_inotify_rm_watch (__NR_Linux + 286)
/*
* Offset of the last Linux o32 flavoured syscall
*/
#define __NR_Linux_syscalls 28
3
#define __NR_Linux_syscalls 28
6
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
...
...
@@ -564,11 +568,14 @@
#define __NR_request_key (__NR_Linux + 240)
#define __NR_keyctl (__NR_Linux + 241)
#define __NR_set_thread_area (__NR_Linux + 242)
#define __NR_inotify_init (__NR_Linux + 243)
#define __NR_inotify_add_watch (__NR_Linux + 244)
#define __NR_inotify_rm_watch (__NR_Linux + 245)
/*
* Offset of the last Linux 64-bit flavoured syscall
*/
#define __NR_Linux_syscalls 24
2
#define __NR_Linux_syscalls 24
5
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
...
...
@@ -828,11 +835,14 @@
#define __NR_request_key (__NR_Linux + 244)
#define __NR_keyctl (__NR_Linux + 245)
#define __NR_set_thread_area (__NR_Linux + 246)
#define __NR_inotify_init (__NR_Linux + 247)
#define __NR_inotify_add_watch (__NR_Linux + 248)
#define __NR_inotify_rm_watch (__NR_Linux + 249)
/*
* Offset of the last N32 flavoured syscall
*/
#define __NR_Linux_syscalls 24
6
#define __NR_Linux_syscalls 24
9
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
...
...
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