[patch] SH: inotify and ioprio syscalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add inotify and ioprio syscall stubs to SH.

	Robert Love


Signed-off-by: Robert Love <[email protected]>

 arch/sh/kernel/entry.S  |    5 +++++
 include/asm-sh/unistd.h |    8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff -urN linux-2.6.13-rc6-git2/arch/sh/kernel/entry.S linux/arch/sh/kernel/entry.S
--- linux-2.6.13-rc6-git2/arch/sh/kernel/entry.S	2005-06-17 15:48:29.000000000 -0400
+++ linux/arch/sh/kernel/entry.S	2005-08-10 15:54:44.000000000 -0400
@@ -1145,5 +1145,10 @@
 	.long sys_add_key		/* 285 */
 	.long sys_request_key
 	.long sys_keyctl
+	.long sys_ioprio_set
+	.long sys_ioprio_get
+	.long sys_inotify_init		/* 290 */
+	.long sys_inotify_add_watch
+	.long sys_inotify_rm_watch
 
 /* End of entry.S */
diff -urN linux-2.6.13-rc6-git2/include/asm-sh/unistd.h linux/include/asm-sh/unistd.h
--- linux-2.6.13-rc6-git2/include/asm-sh/unistd.h	2005-06-17 15:48:29.000000000 -0400
+++ linux/include/asm-sh/unistd.h	2005-08-10 15:55:41.000000000 -0400
@@ -295,8 +295,14 @@
 #define __NR_add_key		285
 #define __NR_request_key	286
 #define __NR_keyctl		287
+#define __NR_ioprio_set		288
+#define __NR_ioprio_get		289
+#define __NR_inotify_init	290
+#define __NR_inotify_add_watch	291
+#define __NR_inotify_rm_watch	292
 
-#define NR_syscalls 288
+
+#define NR_syscalls 293
 
 /* user-visible error numbers are in the range -1 - -124: see <asm-sh/errno.h> */
 




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux