aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-13 11:48:45 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:47 +0100
commit7db36c858c01218bf02931c39076b082c42d964c (patch)
treeeb74babda1c99cb89dd052e9b9396d7fc0870ce0 /arch/mips/kernel
parentec74e361f1e71a2498e48b62abdc4bd8d2423354 (diff)
Add inotify syscalls for MIPS.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/scall32-o32.S4
-rw-r--r--arch/mips/kernel/scall64-64.S3
-rw-r--r--arch/mips/kernel/scall64-n32.S3
-rw-r--r--arch/mips/kernel/scall64-o32.S3
4 files changed, 12 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index c389dbaa279..fd1823c1657 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -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
diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
index d11f99b0ae5..9085838d6ce 100644
--- a/arch/mips/kernel/scall64-64.S
+++ b/arch/mips/kernel/scall64-64.S
@@ -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 */
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index cb671ef5e19..0dfb34bf979 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -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
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
index deb7f932e28..5a16401e443 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -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