Skip to contentSkip to conversation

add inotify & ioprio syscalls to ARM

PATCH In review Robert Love 2 participants 3 messages Aug 10, 2005 – Aug 15, 2005 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add inotify & ioprio syscalls to ARM

Russell,

Hey. Attached patch adds the syscall stubs for the inotify and ioprio system calls to ARM.

Robert Love

 arch/arm/kernel/calls.S  |    6 ++++++
 include/asm-arm/unistd.h |    5 +++++
 2 files changed, 11 insertions(+)
arch/arm/kernel/calls.S +6 -0
diff -urN linux-2.6.13-rc6/arch/arm/kernel/calls.S linux/arch/arm/kernel/calls.S
@@ -327,6 +327,12 @@
 /* 310 */	.long	sys_request_key
 		.long	sys_keyctl
 		.long	sys_semtimedop
+/* vserver */	.long	sys_ni_syscall
+		.long	sys_ioprio_set
+/* 315 */	.long	sys_ioprio_get
+		.long	sys_inotify_init
+		.long	sys_inotify_add_watch
+		.long	sys_inotify_rm_watch
 __syscall_end:
 
 		.rept	NR_syscalls - (__syscall_end - __syscall_start) / 4
include/asm-arm/unistd.h +5 -0
diff -urN linux-2.6.13-rc6/include/asm-arm/unistd.h linux/include/asm-arm/unistd.h
@@ -350,6 +350,11 @@
 #endif
 
 #define __NR_vserver			(__NR_SYSCALL_BASE+313)
+#define __NR_ioprio_set			(__NR_SYSCALL_BASE+314)
+#define __NR_ioprio_get			(__NR_SYSCALL_BASE+315)
+#define __NR_inotify_init		(__NR_SYSCALL_BASE+316)
+#define __NR_inotify_add_watch		(__NR_SYSCALL_BASE+317)
+#define __NR_inotify_rm_watch		(__NR_SYSCALL_BASE+318)
 
 /*
  * The following SWIs are ARM private.
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Robert Love

Russell,

Hey. Attached patch adds the syscall stubs for the inotify and ioprio system calls to ARM.

Robert Love

Thanks Robert.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
#2 lore raw
In reply to Robert Love
Quoted 2 lines · Robert Love

Hey. Attached patch adds the syscall stubs for the inotify and ioprio system calls to ARM.

Since I haven't had an ack from akpm, I've appled this myself. Thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core