Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751496AbWDAExL (ORCPT ); Fri, 31 Mar 2006 23:53:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751499AbWDAExL (ORCPT ); Fri, 31 Mar 2006 23:53:11 -0500 Received: from mx1.redhat.com ([66.187.233.31]:39127 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751496AbWDAExK (ORCPT ); Fri, 31 Mar 2006 23:53:10 -0500 Date: Fri, 31 Mar 2006 23:53:09 -0500 From: Dave Jones To: Linux Kernel Subject: cell compile fixes. Message-ID: <20060401045309.GA22149@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 30 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 --- linux-2.6.16.noarch/arch/powerpc/platforms/cell/spufs/run.c~ 2006-03-30 15:48:17.000000000 -0500 +++ linux-2.6.16.noarch/arch/powerpc/platforms/cell/spufs/run.c 2006-03-30 15:48:25.000000000 -0500 @@ -2,6 +2,7 @@ #include #include +#include #include "spufs.h" --- linux-2.6.16.noarch/arch/powerpc/platforms/cell/spu_callbacks.c~ 2006-03-31 21:53:04.000000000 -0500 +++ linux-2.6.16.noarch/arch/powerpc/platforms/cell/spu_callbacks.c 2006-03-31 21:53:43.000000000 -0500 @@ -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) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/