From ebd33e11c3bef555573510d8677d626ebaa1eccd Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Wed, 14 Nov 2007 17:01:28 -0800 Subject: [PATCH] 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 Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-cris/tlb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-cris/tlb.h b/include/asm-cris/tlb.h index 6cc26debe4..7724246a26 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 + #include /* -- 2.39.5