[patch] SH64: inotify and ioprio syscalls

From: Robert Love
Date: Wed Aug 10 2005 - 15:13:47 EST


Add inotify and ioprio syscall stubs to SH64.

Robert Love


Signed-off-by: Robert Love <rml@xxxxxxxxxx>

arch/sh64/kernel/syscalls.S | 5 +++++
include/asm-sh64/unistd.h | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)

diff -urN linux-2.6.13-rc6-git2/arch/sh64/kernel/syscalls.S linux/arch/sh64/kernel/syscalls.S
--- linux-2.6.13-rc6-git2/arch/sh64/kernel/syscalls.S 2005-06-17 15:48:29.000000000 -0400
+++ linux/arch/sh64/kernel/syscalls.S 2005-08-10 16:12:24.000000000 -0400
@@ -342,4 +342,9 @@
.long sys_add_key
.long sys_request_key
.long sys_keyctl /* 315 */
+ .long sys_ioprio_set
+ .long sys_ioprio_get
+ .long sys_inotify_init
+ .long sys_inotify_add_watch
+ .long sys_inotify_rm_watch /* 320 */

diff -urN linux-2.6.13-rc6-git2/include/asm-sh64/unistd.h linux/include/asm-sh64/unistd.h
--- linux-2.6.13-rc6-git2/include/asm-sh64/unistd.h 2005-06-17 15:48:29.000000000 -0400
+++ linux/include/asm-sh64/unistd.h 2005-08-10 16:12:10.000000000 -0400
@@ -338,8 +338,13 @@
#define __NR_add_key 313
#define __NR_request_key 314
#define __NR_keyctl 315
+#define __NR_ioprio_set 316
+#define __NR_ioprio_get 317
+#define __NR_inotify_init 318
+#define __NR_inotify_add_watch 319
+#define __NR_inotify_rm_watch 320

-#define NR_syscalls 316
+#define NR_syscalls 321

/* user-visible error numbers are in the range -1 - -125: see <asm-sh64/errno.h> */



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