]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Add inotify syscalls for MIPS.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 13 Jul 2005 11:48:45 +0000 (11:48 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:47 +0000 (19:31 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S
include/asm-mips/unistd.h

index c389dbaa279e150455c2c87008eae8634466f7a8..fd1823c1657af34e549f61e800374b74624fb772 100644 (file)
@@ -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
index d11f99b0ae53204d59cb13ca5fade648609965a6..9085838d6ce3c5546694865d6761ae0653cb3e76 100644 (file)
@@ -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 */
index cb671ef5e19bfaae729a70b5b194004472bc1ab5..0dfb34bf9792d6ee81b8035711e3ba68c0250859 100644 (file)
@@ -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
index deb7f932e2884d4f663458293e5fc754d8c3d52b..5a16401e443a3c8b8103357a9c79a91fd5e4ca52 100644 (file)
@@ -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
index 6be69c3a691f762f6c99b3537d51346fea354b46..c9eaf4c104deaa8bd649c62aee28cc2f395d970b 100644 (file)
 #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            283
+#define __NR_Linux_syscalls            286
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
 
 #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            242
+#define __NR_Linux_syscalls            245
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
 
 #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            246
+#define __NR_Linux_syscalls            249
 
 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */