18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
38c2ecf20Sopenharmony_ci * Copyright (C) 2009 Wind River Systems Inc
48c2ecf20Sopenharmony_ci * Copyright (C) 2004 Microtronix Datacom Ltd.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
78c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive
88c2ecf20Sopenharmony_ci * for more details.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef _ASM_NIOS2_TLB_H
128c2ecf20Sopenharmony_ci#define _ASM_NIOS2_TLB_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciextern void set_mmu_pid(unsigned long pid);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/*
178c2ecf20Sopenharmony_ci * NIOS32 does have flush_tlb_range(), but it lacks a limit and fallback to
188c2ecf20Sopenharmony_ci * full mm invalidation. So use flush_tlb_mm() for everything.
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#include <linux/pagemap.h>
228c2ecf20Sopenharmony_ci#include <asm-generic/tlb.h>
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif /* _ASM_NIOS2_TLB_H */
25