CRIS tlb.h should include linux/pagemap.h
PATCH 1/1 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]>
--- tlb.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-cris/tlb.h +2 -0
@@ -1,6 +1,8 @@#ifndef _CRIS_TLB_H#define _CRIS_TLB_H +#include <linux/pagemap.h> +#include <asm/arch/tlb.h> /*
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]