Linux 5.6.13
[linux/fpc-iii.git] / arch / riscv / include / asm / tlb.h
blob120bcf2ed8a878554000f0d0ac73e14ec4aa6fa2
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2012 Regents of the University of California
4 */
6 #ifndef _ASM_RISCV_TLB_H
7 #define _ASM_RISCV_TLB_H
9 struct mmu_gather;
11 static void tlb_flush(struct mmu_gather *tlb);
13 #define tlb_flush tlb_flush
14 #include <asm-generic/tlb.h>
16 static inline void tlb_flush(struct mmu_gather *tlb)
18 flush_tlb_mm(tlb->mm);
21 #endif /* _ASM_RISCV_TLB_H */