aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 20:01:28 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:47 -0500
commitebd33e11c3bef555573510d8677d626ebaa1eccd (patch)
treefa7d7a9d42381704d2d9ff33c23a8c0cc5b21452
parent57c230a873b9d82ae88d6b6736127b5485024699 (diff)
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>
-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 @@
1#ifndef _CRIS_TLB_H 1#ifndef _CRIS_TLB_H
2#define _CRIS_TLB_H 2#define _CRIS_TLB_H
3 3
4#include <linux/pagemap.h>
5
4#include <asm/arch/tlb.h> 6#include <asm/arch/tlb.h>
5 7
6/* 8/*