summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 17:01:28 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 18:45:47 -0800
commitebd33e11c3bef555573510d8677d626ebaa1eccd (patch)
treefa7d7a9d42381704d2d9ff33c23a8c0cc5b21452 /include
parent57c230a873b9d82ae88d6b6736127b5485024699 (diff)
downloadop-kernel-dev-ebd33e11c3bef555573510d8677d626ebaa1eccd.zip
op-kernel-dev-ebd33e11c3bef555573510d8677d626ebaa1eccd.tar.gz
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 '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 6cc26de..7724246 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>
/*
OpenPOWER on IntegriCloud