From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: <linuxppc-dev@ozlabs.org>
Subject: [PATCH] powerpc: Reserve syscall number 319
Date: Tue, 02 Sep 2008 15:48:45 +1000 [thread overview]
Message-ID: <20080902054941.77DA3DDDF0@ozlabs.org> (raw)
Some stuff I'm working on that isn't released yet needs
a syscall number but I can't say what it's for until I
get permission to release it :-)
In the meantime, it would be nice if a number could be set
aside so the tools being developped to use that stuff don't
all need to be updated when things are eventually released.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
I wonder if I'll get hanged for that one :-)
arch/powerpc/include/asm/systbl.h | 1 +
arch/powerpc/include/asm/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
--- linux-work.orig/arch/powerpc/include/asm/systbl.h 2008-09-02 15:14:53.000000000 +1000
+++ linux-work/arch/powerpc/include/asm/systbl.h 2008-09-02 15:14:54.000000000 +1000
@@ -322,3 +322,4 @@ SYSCALL_SPU(epoll_create1)
SYSCALL_SPU(dup3)
SYSCALL_SPU(pipe2)
SYSCALL(inotify_init1)
+SYSCALL(ni_syscall)
Index: linux-work/arch/powerpc/include/asm/unistd.h
===================================================================
--- linux-work.orig/arch/powerpc/include/asm/unistd.h 2008-09-02 15:11:55.000000000 +1000
+++ linux-work/arch/powerpc/include/asm/unistd.h 2008-09-02 15:14:42.000000000 +1000
@@ -341,10 +341,11 @@
#define __NR_dup3 316
#define __NR_pipe2 317
#define __NR_inotify_init1 318
+/* 319 is reserved */
#ifdef __KERNEL__
-#define __NR_syscalls 319
+#define __NR_syscalls 320
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
next reply other threads:[~2008-09-02 5:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 5:48 Benjamin Herrenschmidt [this message]
2008-09-02 12:08 ` [PATCH] powerpc: Reserve syscall number 319 Josh Boyer
2008-09-02 21:02 ` Benjamin Herrenschmidt
2008-09-02 18:06 ` Olof Johansson
2008-09-02 21:06 ` Benjamin Herrenschmidt
2008-09-02 21:30 ` Olof Johansson
2008-09-02 21:49 ` Benjamin Herrenschmidt
2008-09-02 22:12 ` Olof Johansson
2008-09-02 22:49 ` Benjamin Herrenschmidt
2008-09-02 23:46 ` Christoph Hellwig
2008-09-03 0:58 ` Benjamin Herrenschmidt
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=20080902054941.77DA3DDDF0@ozlabs.org \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).