1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Copyright (C) 2010 Tobias Klauser <tklauser 4 */ 5 6 #ifndef _ASM_NIOS2_TLBFLUSH_H 7 #define _ASM_NIOS2_TLBFLUSH_H 8 9 struct mm_struct; 10 11 /* 12 * TLB flushing: 13 * 14 * - flush_tlb_all() flushes all processes TL 15 * - flush_tlb_mm(mm) flushes the specified m 16 * - flush_tlb_range(vma, start, end) flushes 17 * - flush_tlb_page(vma, address) flushes a p 18 * - flush_tlb_kernel_range(start, end) flush 19 * - flush_tlb_kernel_page(address) flushes a 20 * 21 * - reload_tlb_page(vma, address, pte) flush 22 * flush_tlb_page, then replaces it with a 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_str 27 unsigned long end) 28 extern void flush_tlb_kernel_range(unsigned lo 29 30 static inline void flush_tlb_page(struct vm_ar 31 unsigned lon 32 { 33 flush_tlb_range(vma, address, address 34 } 35 36 static inline void flush_tlb_kernel_page(unsig 37 { 38 flush_tlb_kernel_range(address, addres 39 } 40 41 extern void reload_tlb_page(struct vm_area_str 42 pte_t pte); 43 44 #endif /* _ASM_NIOS2_TLBFLUSH_H */ 45
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.