diff options
author | Dave Jones <davej@redhat.com> | 2006-04-01 06:53:09 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-04-01 13:37:14 +0200 |
commit | cfff5b23bad2b7a4754f7c126a174a5867dfcca5 (patch) | |
tree | afd6296bbcd61ed8da7b4fccef96026444c6e2c9 /arch/powerpc | |
parent | [PATCH] powerpc: trivial spelling fixes in fault.c (diff) | |
download | linux-cfff5b23bad2b7a4754f7c126a174a5867dfcca5.tar.xz linux-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.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[] = { [__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 c04e078c0fe5..483c8b76232c 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" |