linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc64-dev@ozlabs.org
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH] reserve syscall numbers for Cell
Date: Sat, 29 Oct 2005 01:16:43 +0200	[thread overview]
Message-ID: <200510290116.43753.arnd@arndb.de> (raw)
In-Reply-To: <200510290111.13867.arnd@arndb.de>

This creates two powerpc specific dummy system calls that will
later be used on the Cell platform to manage SPUs.

Reserve the system call numbers now so we don't accidentally
use the same numbers for different system calls.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>

---
Please apply to merge tree

--- a/kernel/sys_ni.c	2005-10-29 00:46:21.000000000 +0200
+++ b/kernel/sys_ni.c	2005-10-29 00:47:37.000000000 +0200
@@ -90,3 +90,5 @@
 cond_syscall(sys32_ipc);
 cond_syscall(sys32_sysctl);
 cond_syscall(ppc_rtas);
+cond_syscall(sys_spu_run);
+cond_syscall(sys_spu_create);
--- a/arch/powerpc/kernel/systbl.S	2005-10-29 00:39:49.000000000 +0200
+++ b/arch/powerpc/kernel/systbl.S	2005-10-29 00:44:48.000000000 +0200
@@ -319,3 +319,5 @@
 SYSCALL(inotify_init)
 SYSCALL(inotify_add_watch)
 SYSCALL(inotify_rm_watch)
+SYSCALL(spu_run)
+SYSCALL(spu_create)
--- a/include/asm-powerpc/unistd.h	2005-10-29 00:34:40.000000000 +0200
+++ b/include/asm-powerpc/unistd.h	2005-10-29 00:35:52.000000000 +0200
@@ -297,7 +297,9 @@
 #define __NR_inotify_add_watch	276
 #define __NR_inotify_rm_watch	277

-#define __NR_syscalls		278
+#define __NR_spu_run		278
+#define __NR_spu_create		279
+#define __NR_syscalls		280
 
 #ifdef __KERNEL__
 #define __NR__exit __NR_exit

  reply	other threads:[~2005-10-28 23:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28 13:05 Patches for 2.6.15 Paul Mackerras
2005-10-28 16:00 ` Christopher Friesen
2005-10-28 17:54   ` Andreas Schwab
2005-10-28 18:41   ` Kumar Gala
2005-10-29  0:10   ` Paul Mackerras
2005-10-28 17:30 ` Matt Porter
2005-10-28 18:44   ` Kumar Gala
2005-10-28 20:02     ` Andrew Morton
2005-10-29  0:20       ` Paul Mackerras
2005-10-29  0:40         ` Andrew Morton
2005-10-29  5:45           ` Paul Mackerras
2005-10-29  5:59             ` Andrew Morton
2005-11-01  5:53   ` Paul Mackerras
2005-11-01 13:22     ` Matt Porter
2005-10-28 18:49 ` Kumar Gala
2005-10-29  8:07   ` Stephen Rothwell
2005-10-29 12:55     ` galak
2005-11-01  5:57   ` Paul Mackerras
2005-10-28 23:11 ` Arnd Bergmann
2005-10-28 23:16   ` Arnd Bergmann [this message]
2005-10-28 23:21   ` Andrew Morton

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=200510290116.43753.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppc64-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).