1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/unicore32/include/asm/tlb.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
9 #ifndef __UNICORE_TLB_H__
10 #define __UNICORE_TLB_H__
13 * unicore32 lacks an efficient flush_tlb_range(), use flush_tlb_mm().
16 #define __pte_free_tlb(tlb, pte, addr) \
18 pgtable_pte_page_dtor(pte); \
19 tlb_remove_page((tlb), (pte)); \
22 #include <asm-generic/tlb.h>