From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgw-da01.nokia.com (smtp.nokia.com [147.243.128.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.nokia.com", Issuer "VeriSign Class 3 International Server CA - G3" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id E0E78B7009 for ; Wed, 16 Mar 2011 21:31:17 +1100 (EST) Subject: Re: linux-next: build failure after merge of the final tree (ubi tree related) From: Artem Bityutskiy To: Benjamin Herrenschmidt In-Reply-To: <1300270508.22236.1168.camel@pasglop> References: <20110316175041.67c4f371.sfr@canb.auug.org.au> <1300260170.2817.4.camel@localhost> <1300270508.22236.1168.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Mar 2011 12:27:37 +0200 Message-ID: <1300271257.2817.8.camel@localhost> Mime-Version: 1.0 Cc: ext Stephen Rothwell , linux-next@vger.kernel.org, Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Reply-To: Artem.Bityutskiy@nokia.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2011-03-16 at 21:15 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2011-03-16 at 09:22 +0200, Artem Bityutskiy wrote: > > On Wed, 2011-03-16 at 17:50 +1100, ext Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the final tree, today's linux-next build (powerpc > > > allyesconfig) failed like this: > > > > > > drivers/mtd/ubi/io.c: In function 'ubi_dbg_check_write': > > > drivers/mtd/ubi/io.c:1348: error: 'PAGE_KERNEL' undeclared (first use in this function) > > > drivers/mtd/ubi/io.c: In function 'ubi_dbg_check_all_ff': > > > drivers/mtd/ubi/io.c:1412: error: 'PAGE_KERNEL' undeclared (first use in this function) > > > > > > Caused by commit 823ed5091113 ("UBI: allocate write checking buffer on demand"). > > > > > > I don't know how to fix this, so I have left it for today. > > > > Hmm, strange, include should be enough to use > > __vmalloc with 'PAGE_KERNEL' AFAICS, and we have this include... I'll > > try to look better. > > Try adding asm/pgtable.h Thanks, that's what I was thinking about as well. -- Best Regards, Artem Bityutskiy (Артём Битюцкий)