1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2012 Regents of the University of California 4 */ 5 6#ifndef _ASM_RISCV_TLB_H 7#define _ASM_RISCV_TLB_H 8 9struct mmu_gather; 10 11static void tlb_flush(struct mmu_gather *tlb); 12 13#define tlb_flush tlb_flush 14#include <asm-generic/tlb.h> 15 16static inline void tlb_flush(struct mmu_gather *tlb) 17{ 18 flush_tlb_mm(tlb->mm); 19} 20 21#endif /* _ASM_RISCV_TLB_H */ 22