linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Reserve syscall number 319
@ 2008-09-02  5:48 Benjamin Herrenschmidt
  2008-09-02 12:08 ` Josh Boyer
  2008-09-02 18:06 ` Olof Johansson
  0 siblings, 2 replies; 11+ messages in thread
From: Benjamin Herrenschmidt @ 2008-09-02  5:48 UTC (permalink / raw)
  To: linuxppc-dev

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-09-03  0:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-02  5:48 [PATCH] powerpc: Reserve syscall number 319 Benjamin Herrenschmidt
2008-09-02 12:08 ` 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

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).