diff options
author | Dave Jones <davej@redhat.com> | 2006-03-31 23:53:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-04-01 06:37:14 -0500 |
commit | cfff5b23bad2b7a4754f7c126a174a5867dfcca5 (patch) | |
tree | afd6296bbcd61ed8da7b4fccef96026444c6e2c9 | |
parent | fc5266ea52e6cbc648387f1a2c773773fba8d782 (diff) |
[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>
-rw-r--r-- | arch/powerpc/platforms/cell/spu_callbacks.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/run.c | 1 |
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 3a4245c926ad..6594bec73882 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[] = { | |||
316 | [__NR_pselect6] sys_ni_syscall, /* sys_pselect */ | 316 | [__NR_pselect6] sys_ni_syscall, /* sys_pselect */ |
317 | [__NR_ppoll] sys_ni_syscall, /* sys_ppoll */ | 317 | [__NR_ppoll] sys_ni_syscall, /* sys_ppoll */ |
318 | [__NR_unshare] sys_unshare, | 318 | [__NR_unshare] sys_unshare, |
319 | [__NR_splice] sys_splice, | ||
319 | }; | 320 | }; |
320 | 321 | ||
321 | long spu_sys_callback(struct spu_syscall_block *s) | 322 | 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 c04e078c0fe5..483c8b76232c 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <linux/ptrace.h> | 2 | #include <linux/ptrace.h> |
3 | 3 | ||
4 | #include <asm/spu.h> | 4 | #include <asm/spu.h> |
5 | #include <asm/unistd.h> | ||
5 | 6 | ||
6 | #include "spufs.h" | 7 | #include "spufs.h" |
7 | 8 | ||