public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@novell.com>
To: rmk@arm.linux.org.uk
Cc: The Cutch <ttb@tentacle.dhs.org>, Mr Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [patch] add inotify & ioprio syscalls to ARM
Date: Wed, 10 Aug 2005 15:29:27 -0400	[thread overview]
Message-ID: <1123702167.23297.4.camel@betsy> (raw)

Russell,

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

	Robert Love


Signed-off-by: Robert Love <rml@novell.com>

 arch/arm/kernel/calls.S  |    6 ++++++
 include/asm-arm/unistd.h |    5 +++++
 2 files changed, 11 insertions(+)

diff -urN linux-2.6.13-rc6/arch/arm/kernel/calls.S linux/arch/arm/kernel/calls.S
--- linux-2.6.13-rc6/arch/arm/kernel/calls.S	2005-06-17 15:48:29.000000000 -0400
+++ linux/arch/arm/kernel/calls.S	2005-08-10 15:26:10.000000000 -0400
@@ -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
diff -urN linux-2.6.13-rc6/include/asm-arm/unistd.h linux/include/asm-arm/unistd.h
--- linux-2.6.13-rc6/include/asm-arm/unistd.h	2005-06-17 15:48:29.000000000 -0400
+++ linux/include/asm-arm/unistd.h	2005-08-10 15:26:08.000000000 -0400
@@ -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.



             reply	other threads:[~2005-08-10 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 19:29 Robert Love [this message]
2005-08-11 16:53 ` [patch] add inotify & ioprio syscalls to ARM Russell King
2005-08-15  9:58 ` Russell King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1123702167.23297.4.camel@betsy \
    --to=rml@novell.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=ttb@tentacle.dhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox