Skip to contentSkip to conversation

SH: inotify and ioprio syscalls

PATCH New Robert Love 3 participants 3 messages Aug 10, 2005 – Aug 12, 2005 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SH: inotify and ioprio syscalls

Add inotify and ioprio syscall stubs to SH.

Robert Love

 arch/sh/kernel/entry.S  |    5 +++++
 include/asm-sh/unistd.h |    8 +++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
arch/sh/kernel/entry.S +5 -0
diff -urN linux-2.6.13-rc6-git2/arch/sh/kernel/entry.S linux/arch/sh/kernel/entry.S
@@ -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 */
include/asm-sh/unistd.h +7 -1
diff -urN linux-2.6.13-rc6-git2/include/asm-sh/unistd.h linux/include/asm-sh/unistd.h
@@ -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> */
 
#1 lore raw

PATCH 1/1 SH64: inotify and ioprio syscalls

Add inotify and ioprio syscall stubs to SH64.

Robert Love

 arch/sh64/kernel/syscalls.S |    5 +++++
 include/asm-sh64/unistd.h   |    7 ++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
arch/sh64/kernel/syscalls.S +5 -0
diff -urN linux-2.6.13-rc6-git2/arch/sh64/kernel/syscalls.S linux/arch/sh64/kernel/syscalls.S
@@ -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 */
 
include/asm-sh64/unistd.h +6 -1
diff -urN linux-2.6.13-rc6-git2/include/asm-sh64/unistd.h linux/include/asm-sh64/unistd.h
@@ -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> */
 
Acked-by on v1 1/1
#2 lore raw
Quoted 11 lines · Robert Love

Add inotify and ioprio syscall stubs to SH.

Robert Love

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

Add inotify and ioprio syscall stubs to SH64.

Robert Love

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

Both look good, thanks.