From: Jesper Nilsson Date: Thu, 15 Nov 2007 01:01:28 +0000 (-0800) Subject: CRIS tlb.h should include linux/pagemap.h X-Git-Tag: v2.6.24-rc3~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ebd33e11c3bef555573510d8677d626ebaa1eccd;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/include/asm-cris/tlb.h b/include/asm-cris/tlb.h index 6cc26debe40..7724246a260 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 /*