summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/tlb.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-15 02:01:28 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 03:45:47 +0100
commitebd33e11c3bef555573510d8677d626ebaa1eccd (patch)
treefa7d7a9d42381704d2d9ff33c23a8c0cc5b21452 /include/asm-cris/tlb.h
parentCRISv32: add cache flush operations (diff)
downloadlinux-ebd33e11c3bef555573510d8677d626ebaa1eccd.tar.xz
linux-ebd33e11c3bef555573510d8677d626ebaa1eccd.zip
CRIS tlb.h should include linux/pagemap.h
Include linux/pagemap.h for release_pages and page_cache_release. Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Mikael Starvik <mikael.starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-cris/tlb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/tlb.h b/include/asm-cris/tlb.h
index 6cc26debe40f..7724246a2601 100644
--- a/include/asm-cris/tlb.h
+++ b/include/asm-cris/tlb.h
@@ -1,6 +1,8 @@
#ifndef _CRIS_TLB_H
#define _CRIS_TLB_H
+#include <linux/pagemap.h>
+
#include <asm/arch/tlb.h>
/*