From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by ozlabs.org (Postfix) with ESMTP id 98208DDEDD for ; Sun, 12 Aug 2007 23:35:56 +1000 (EST) Received: from krystal.dyndns.org ([76.65.103.147]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070812133554.JZHY13659.tomts13-srv.bellnexxia.net@krystal.dyndns.org> for ; Sun, 12 Aug 2007 09:35:54 -0400 Date: Sun, 12 Aug 2007 09:35:52 -0400 From: Mathieu Desnoyers To: Martin Schwidefsky Subject: Re: 2.6.23-rc2-mm2 build error on MIPS and ARM Message-ID: <20070812133552.GA21643@Krystal> References: <20070811025802.GA15885@Krystal> <1186825800.32314.2.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1186825800.32314.2.camel@localhost> Cc: linuxppc-dev@ozlabs.org, Andrew Morton , linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Martin Schwidefsky (schwidefsky@de.ibm.com) wrote: > On Fri, 2007-08-10 at 22:58 -0400, Mathieu Desnoyers wrote: > > I got the following errors when building 2.6.23-rc2-mm2 on both mips and > > arm. Both errors are very much alike. > > That attached patch should fix it for arm and mips. I'll try a few more > architectures until I'm fed up with compiling cross-compilers.. > It fixes the problem for me, thanks! Tested-by: Mathieu Desnoyers Mathieu > -- > blue skies, > Martin. > > "Reality continues to ruin my life." - Calvin. > --- > Subject: [PATCH] move mm_struct and vm_area_struct, compile fix. > > From: Martin Schwidefsky > > Include in to make mips and arm > compile again after mm_struct and vm_area_struct have been moved. > > Signed-off-by: Martin Schwidefsky > --- > > include/linux/mm_types.h | 1 + > 1 file changed, 1 insertion(+) > > diff -urpN linux-2.6/include/linux/mm_types.h > linux-2.6-patched/include/linux/mm_types.h > --- linux-2.6/include/linux/mm_types.h 2007-08-11 11:30:10.000000000 > +0200 > +++ linux-2.6-patched/include/linux/mm_types.h 2007-08-11 > 11:32:42.000000000 +0200 > @@ -11,6 +11,7 @@ > #include > #include > #include > +#include > > struct address_space; > > > -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68