Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262657AbVCXU2e (ORCPT ); Thu, 24 Mar 2005 15:28:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262338AbVCXU2e (ORCPT ); Thu, 24 Mar 2005 15:28:34 -0500 Received: from fire.osdl.org ([65.172.181.4]:51914 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262657AbVCXU22 (ORCPT ); Thu, 24 Mar 2005 15:28:28 -0500 Date: Thu, 24 Mar 2005 12:28:08 -0800 From: Andrew Morton To: cliff white Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.12-rc1-mm2 - ppc32 build fails. Message-Id: <20050324122808.72f622cd.akpm@osdl.org> In-Reply-To: <20050324110233.55b5053a@es175> References: <20050324110233.55b5053a@es175> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1790 Lines: 54 cliff white wrote: > > > Error message: > > CC arch/ppc/kernel/setup.o > In file included from arch/ppc/kernel/setup.c:43: > include/asm/ppc_sys.h:29:2: #error "need definition of ppc_sys_devices" > In file included from arch/ppc/kernel/setup.c:43: > include/asm/ppc_sys.h:61: warning: parameter has incomplete type > include/asm/ppc_sys.h:64: warning: parameter has incomplete type This should fix it. From: Kumar Gala Signed-off-by: Andrew Morton --- 25-akpm/arch/ppc/kernel/setup.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -puN arch/ppc/kernel/setup.c~ppc32-report-chipset-version-in-common-proc-cpuinfo-handling-fix arch/ppc/kernel/setup.c --- 25/arch/ppc/kernel/setup.c~ppc32-report-chipset-version-in-common-proc-cpuinfo-handling-fix 2005-03-24 12:27:39.000000000 -0800 +++ 25-akpm/arch/ppc/kernel/setup.c 2005-03-24 12:27:39.000000000 -0800 @@ -40,7 +40,10 @@ #include #include #include + +#if defined(CONFIG_85xx) || defined(CONFIG_83xx) #include +#endif #if defined CONFIG_KGDB #include @@ -247,7 +250,7 @@ int show_cpuinfo(struct seq_file *m, voi seq_printf(m, "bogomips\t: %lu.%02lu\n", lpj / (500000/HZ), (lpj / (5000/HZ)) % 100); -#if defined (CONFIG_85xx) || defined (CONFIG_83xx) +#if defined(CONFIG_85xx) || defined(CONFIG_83xx) if (cur_ppc_sys_spec->ppc_sys_name) seq_printf(m, "chipset\t\t: %s\n", cur_ppc_sys_spec->ppc_sys_name); _ - 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/