xref: /kernel/linux/linux-5.10/arch/riscv/include/asm/tlb.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/riscv/include/asm/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2012 Regents of the University of California
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _ASM_RISCV_TLB_H
78c2ecf20Sopenharmony_ci#define _ASM_RISCV_TLB_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cistruct mmu_gather;
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistatic void tlb_flush(struct mmu_gather *tlb);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define tlb_flush tlb_flush
148c2ecf20Sopenharmony_ci#include <asm-generic/tlb.h>
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic inline void tlb_flush(struct mmu_gather *tlb)
178c2ecf20Sopenharmony_ci{
188c2ecf20Sopenharmony_ci	flush_tlb_mm(tlb->mm);
198c2ecf20Sopenharmony_ci}
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif /* _ASM_RISCV_TLB_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024