aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/tlb.h
blob: 53d185bcf872f034c513e9d8c289d95108ca0d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __ASM_SH_TLB_H
#define __ASM_SH_TLB_H

#define tlb_start_vma(tlb, vma) \
	flush_cache_range(vma, vma->vm_start, vma->vm_end)

#define tlb_end_vma(tlb, vma)	\
	flush_tlb_range(vma, vma->vm_start, vma->vm_end)

#define __tlb_remove_tlb_entry(tlb, pte, address)	do { } while (0)

/*
 * Flush whole TLBs for MM
 */
#define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)

#include <asm-generic/tlb.h>
#endif