Path: blob/master/arch/unicore32/include/asm/tlb.h
10818 views
/*1* linux/arch/unicore32/include/asm/tlb.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/11#ifndef __UNICORE_TLB_H__12#define __UNICORE_TLB_H__1314#define tlb_start_vma(tlb, vma) do { } while (0)15#define tlb_end_vma(tlb, vma) do { } while (0)16#define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)17#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)1819#define __pte_free_tlb(tlb, pte, addr) \20do { \21pgtable_page_dtor(pte); \22tlb_remove_page((tlb), (pte)); \23} while (0)2425#include <asm-generic/tlb.h>2627#endif282930