From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: cell compile fixes.
Date: Fri, 31 Mar 2006 23:53:09 -0500 [thread overview]
Message-ID: <20060401045309.GA22149@redhat.com> (raw)
Missing include for __NR_syscalls, and missing sys_splice() that
causes build-time failure due to compile-time bounds check on spu_syscall_table.
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6.16.noarch/arch/powerpc/platforms/cell/spufs/run.c~ 2006-03-30 15:48:17.000000000 -0500
+++ linux-2.6.16.noarch/arch/powerpc/platforms/cell/spufs/run.c 2006-03-30 15:48:25.000000000 -0500
@@ -2,6 +2,7 @@
#include <linux/ptrace.h>
#include <asm/spu.h>
+#include <asm/unistd.h>
#include "spufs.h"
--- linux-2.6.16.noarch/arch/powerpc/platforms/cell/spu_callbacks.c~ 2006-03-31 21:53:04.000000000 -0500
+++ linux-2.6.16.noarch/arch/powerpc/platforms/cell/spu_callbacks.c 2006-03-31 21:53:43.000000000 -0500
@@ -316,6 +316,7 @@ void *spu_syscall_table[] = {
[__NR_pselect6] sys_ni_syscall, /* sys_pselect */
[__NR_ppoll] sys_ni_syscall, /* sys_ppoll */
[__NR_unshare] sys_unshare,
+ [__NR_splice] sys_splice,
};
long spu_sys_callback(struct spu_syscall_block *s)
next reply other threads:[~2006-04-01 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-01 4:53 Dave Jones [this message]
2006-04-01 11:28 ` cell compile fixes Arnd Bergmann
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=20060401045309.GA22149@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.