Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752581Ab1CPKPm (ORCPT ); Wed, 16 Mar 2011 06:15:42 -0400 Received: from gate.crashing.org ([63.228.1.57]:49605 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752270Ab1CPKPh (ORCPT ); Wed, 16 Mar 2011 06:15:37 -0400 Subject: Re: linux-next: build failure after merge of the final tree (ubi tree related) From: Benjamin Herrenschmidt To: Artem.Bityutskiy@nokia.com Cc: ext Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org In-Reply-To: <1300260170.2817.4.camel@localhost> References: <20110316175041.67c4f371.sfr@canb.auug.org.au> <1300260170.2817.4.camel@localhost> Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Mar 2011 21:15:08 +1100 Message-ID: <1300270508.22236.1168.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 31 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 Cheers, Ben. -- 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/