cell compile fixes.
Subsystems (3)
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 <[email protected]>
arch/powerpc/platforms/cell/spufs/run.c renamed from arch/powerpc/platforms/cell/spufs/run.c~ +1 -0
@@ -2,6 +2,7 @@#include <linux/ptrace.h> #include <asm/spu.h> +#include <asm/unistd.h> #include "spufs.h"
arch/powerpc/platforms/cell/spu_callbacks.c renamed from arch/powerpc/platforms/cell/spu_callbacks.c~ +1 -0
@@ -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)
Arnd Bergmann
Acked-byAm Saturday 01 April 2006 06:53 schrieb Dave Jones:
Quoted 5 lines
Missing include for
__NR_syscalls, and missingsys_splice()that causes build-time failure due to compile-time bounds check onspu_syscall_table.Signed-off-by Dave Jones <[email protected]>
Acked-by Arnd Bergmann <[email protected]>
It's not always obvious if a syscall can be added to that list, e.g. pselect6 could not because the SPU must not change the signal mask, but splice belongs in there.
Thanks,
Arnd <><