Commit cfff5b23 authored by Dave Jones's avatar Dave Jones Committed by Paul Mackerras

[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: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent fc5266ea
...@@ -316,6 +316,7 @@ void *spu_syscall_table[] = { ...@@ -316,6 +316,7 @@ void *spu_syscall_table[] = {
[__NR_pselect6] sys_ni_syscall, /* sys_pselect */ [__NR_pselect6] sys_ni_syscall, /* sys_pselect */
[__NR_ppoll] sys_ni_syscall, /* sys_ppoll */ [__NR_ppoll] sys_ni_syscall, /* sys_ppoll */
[__NR_unshare] sys_unshare, [__NR_unshare] sys_unshare,
[__NR_splice] sys_splice,
}; };
long spu_sys_callback(struct spu_syscall_block *s) long spu_sys_callback(struct spu_syscall_block *s)
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <linux/ptrace.h> #include <linux/ptrace.h>
#include <asm/spu.h> #include <asm/spu.h>
#include <asm/unistd.h>
#include "spufs.h" #include "spufs.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment