From: dbaryshkov@gmail.com (Dmitry Eremin-Solenikov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n
Date: Sun, 6 Mar 2011 18:46:26 +0300 [thread overview]
Message-ID: <1299426386-28746-1-git-send-email-dbaryshkov@gmail.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n
Date: Sun, 6 Mar 2011 18:46:26 +0300 [thread overview]
Message-ID: <1299426386-28746-1-git-send-email-dbaryshkov@gmail.com> (raw)
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
next reply other threads:[~2011-03-06 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-06 15:46 Dmitry Eremin-Solenikov [this message]
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
2011-03-06 16:36 ` Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299426386-28746-1-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.