aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJesper Nilsson <[email protected]>2007-11-14 17:01:28 -0800
committerLinus Torvalds <[email protected]>2007-11-14 18:45:47 -0800
commitebd33e11c3bef555573510d8677d626ebaa1eccd (patch)
treefa7d7a9d42381704d2d9ff33c23a8c0cc5b21452 /include
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 <[email protected]> Cc: Mikael Starvik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
-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>
/*