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: firefly_0821_release~24305 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebd33e11c3bef555573510d8677d626ebaa1eccd;p=firefly-linux-kernel-4.4.55.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 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 + #include /*