From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: Fix compile after delay page freeing patch Date: Tue, 22 Feb 2011 11:59:39 -0800 Message-ID: <20110222195938.GR15225@atomide.com> References: <20110222194332.GQ15225@atomide.com> <4D6413D9.7080906@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:41728 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753988Ab1BVT7w (ORCPT ); Tue, 22 Feb 2011 14:59:52 -0500 Content-Disposition: inline In-Reply-To: <4D6413D9.7080906@ru.mvista.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Sergei Shtylyov Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org * Sergei Shtylyov [110222 11:51]: > Hello. > > Tony Lindgren wrote: > > >Commit 06824ba824b3e9f2fedb38bee79af0643198ed7f > >(ARM: tlb: delay page freeing for SMP and ARMv7 CPUs) causes > >the following compile error for at least omap1_defconfig: > > >In file included from arch/arm/mm/init.c:27: > >arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': > >arch/arm/include/asm/tlb.h:101: error: implicit declaration of function 'release_pages' > >arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': > >arch/arm/include/asm/tlb.h:165: error: implicit declaration of function 'page_cache_release' > > > >Fix this by including pagemap.h. > > > >Signed-off-by: Tony Lindgren > > > >--- a/arch/arm/mm/init.c > >+++ b/arch/arm/mm/init.c > >@@ -19,6 +19,7 @@ > > #include > > #include > > #include > >+#include > > #include > > #include > > Shouldn't you be #including it into tlb.h instead? Hmm, pagemap.h actually seems to be there in tlb.h, but in #ifndef CONFIG_MMU. Tony