[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1299426386-28746-1-git-send-email-dbaryshkov@gmail.com>
Date: Sun, 6 Mar 2011 18:46:26 +0300
From: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists