This source file includes following definitions.
- flush_tlb_page
- flush_tlb_kernel_page
1
2
3
4
5
6 #ifndef _ASM_NIOS2_TLBFLUSH_H
7 #define _ASM_NIOS2_TLBFLUSH_H
8
9 struct mm_struct;
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 extern void flush_tlb_all(void);
25 extern void flush_tlb_mm(struct mm_struct *mm);
26 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
27 unsigned long end);
28 extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);
29
30 static inline void flush_tlb_page(struct vm_area_struct *vma,
31 unsigned long address)
32 {
33 flush_tlb_range(vma, address, address + PAGE_SIZE);
34 }
35
36 static inline void flush_tlb_kernel_page(unsigned long address)
37 {
38 flush_tlb_kernel_range(address, address + PAGE_SIZE);
39 }
40
41 extern void reload_tlb_page(struct vm_area_struct *vma, unsigned long addr,
42 pte_t pte);
43
44 #endif