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

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).