ebd33e11c3
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>
20 lines
418 B
C
20 lines
418 B
C
#ifndef _CRIS_TLB_H
|
|
#define _CRIS_TLB_H
|
|
|
|
#include <linux/pagemap.h>
|
|
|
|
#include <asm/arch/tlb.h>
|
|
|
|
/*
|
|
* cris doesn't need any special per-pte or
|
|
* per-vma handling..
|
|
*/
|
|
#define tlb_start_vma(tlb, vma) do { } while (0)
|
|
#define tlb_end_vma(tlb, vma) do { } while (0)
|
|
#define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
|
|
|
|
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
|
|
#include <asm-generic/tlb.h>
|
|
|
|
#endif
|