linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n
@ 2011-03-06 15:46 Dmitry Eremin-Solenikov
  2011-03-06 16:36 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-03-06 15:46 UTC (permalink / raw)
  To: linux-arm-kernel

Fix this build error with CONFIG_SWAP=n:

In file included from arch/arm/mm/init.c:28:
arch/arm/include/asm/tlb.h: In function ?tlb_flush_mmu?:
arch/arm/include/asm/tlb.h:104: error: implicit declaration of function ?release_pages?
arch/arm/include/asm/tlb.h: In function ?tlb_remove_page?:
arch/arm/include/asm/tlb.h:168: error: implicit declaration of function ?page_cache_release?

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 arch/arm/include/asm/tlb.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/tlb.h b/arch/arm/include/asm/tlb.h
index 82dfe5d..36e75e5 100644
--- a/arch/arm/include/asm/tlb.h
+++ b/arch/arm/include/asm/tlb.h
@@ -29,6 +29,7 @@
 
 #else /* !CONFIG_MMU */
 
+#include <linux/pagemap.h>
 #include <linux/swap.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n
  2011-03-06 15:46 [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n Dmitry Eremin-Solenikov
@ 2011-03-06 16:36 ` Russell King - ARM Linux
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2011-03-06 16:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Mar 06, 2011 at 06:46:26PM +0300, Dmitry Eremin-Solenikov wrote:
> Fix this build error with CONFIG_SWAP=n:
> 
> In file included from arch/arm/mm/init.c:28:
> arch/arm/include/asm/tlb.h: In function ?tlb_flush_mmu?:
> arch/arm/include/asm/tlb.h:104: error: implicit declaration of function ?release_pages?
> arch/arm/include/asm/tlb.h: In function ?tlb_remove_page?:
> arch/arm/include/asm/tlb.h:168: error: implicit declaration of function ?page_cache_release?

Already caught:

http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=shortlog;h=refs/heads/fixes

11 days    Uwe Kleine...   ARM: 6757/1: fix tlb.h induced linux/swap.h
ago                        build failure

I've had about four of these patches over the last two weeks or so,
it would be a good idea to check the git tree before sending another
version of this.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-06 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 15:46 [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n Dmitry Eremin-Solenikov
2011-03-06 16:36 ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).