[Cbe-oss-dev] [PATCH] powerpc: cell: Add sys_tee to spu_syscall_table

Jeremy Kerr jk at ozlabs.org
Tue Apr 18 22:39:13 EST 2006


Looks like there's been a recent syscall (sys_tee) added to unistd.h in
Linus' current git tree, causing a BUILD_BUG_ON at spu_callbacks.c:327.
This patch adds the syscall to the spu_syscall_table.

Built & booted on cell.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

 arch/powerpc/platforms/cell/spu_callbacks.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/arch/powerpc/platforms/cell/spu_callbacks.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/cell/spu_callbacks.c
+++ linux-2.6/arch/powerpc/platforms/cell/spu_callbacks.c
@@ -317,6 +317,7 @@ void *spu_syscall_table[] = {
 	[__NR_ppoll]			sys_ni_syscall, /* sys_ppoll */
 	[__NR_unshare]			sys_unshare,
 	[__NR_splice]			sys_splice,
+	[__NR_tee]			sys_tee,
 };
 
 long spu_sys_callback(struct spu_syscall_block *s)



More information about the cbe-oss-dev mailing list