summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-03-31 23:53:09 -0500
committerPaul Mackerras <paulus@samba.org>2006-04-01 22:37:14 +1100
commitcfff5b23bad2b7a4754f7c126a174a5867dfcca5 (patch)
treeafd6296bbcd61ed8da7b4fccef96026444c6e2c9 /arch/powerpc
parentfc5266ea52e6cbc648387f1a2c773773fba8d782 (diff)
downloadlinux-3.10-cfff5b23bad2b7a4754f7c126a174a5867dfcca5.tar.gz
linux-3.10-cfff5b23bad2b7a4754f7c126a174a5867dfcca5.tar.bz2
linux-3.10-cfff5b23bad2b7a4754f7c126a174a5867dfcca5.zip
[PATCH] powerpc/cell: compile fixes
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> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/cell/spu_callbacks.c1
-rw-r--r--arch/powerpc/platforms/cell/spufs/run.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spu_callbacks.c b/arch/powerpc/platforms/cell/spu_callbacks.c
index 3a4245c926a..6594bec7388 100644
--- a/arch/powerpc/platforms/cell/spu_callbacks.c
+++ b/arch/powerpc/platforms/cell/spu_callbacks.c
@@ -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)
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c
index c04e078c0fe..483c8b76232 100644
--- a/arch/powerpc/platforms/cell/spufs/run.c
+++ b/arch/powerpc/platforms/cell/spufs/run.c
@@ -2,6 +2,7 @@
#include <linux/ptrace.h>
#include <asm/spu.h>
+#include <asm/unistd.h>
#include "spufs.h"