[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>
This commit is contained in:
Dave Jones 2006-03-31 23:53:09 -05:00 committed by Paul Mackerras
parent fc5266ea52
commit cfff5b23ba
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -2,6 +2,7 @@
#include <linux/ptrace.h>
#include <asm/spu.h>
#include <asm/unistd.h>
#include "spufs.h"