xref: /openbmc/linux/arch/nios2/include/asm/tlb.h (revision 6137fed0)
1c983e92fSLey Foon Tan /*
2c983e92fSLey Foon Tan  * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
3c983e92fSLey Foon Tan  * Copyright (C) 2009 Wind River Systems Inc
4c983e92fSLey Foon Tan  * Copyright (C) 2004 Microtronix Datacom Ltd.
5c983e92fSLey Foon Tan  *
6c983e92fSLey Foon Tan  * This file is subject to the terms and conditions of the GNU General Public
7c983e92fSLey Foon Tan  * License. See the file "COPYING" in the main directory of this archive
8c983e92fSLey Foon Tan  * for more details.
9c983e92fSLey Foon Tan  */
10c983e92fSLey Foon Tan 
11c983e92fSLey Foon Tan #ifndef _ASM_NIOS2_TLB_H
12c983e92fSLey Foon Tan #define _ASM_NIOS2_TLB_H
13c983e92fSLey Foon Tan 
14c983e92fSLey Foon Tan extern void set_mmu_pid(unsigned long pid);
15c983e92fSLey Foon Tan 
166137fed0SPeter Zijlstra /*
176137fed0SPeter Zijlstra  * NIOS32 does have flush_tlb_range(), but it lacks a limit and fallback to
186137fed0SPeter Zijlstra  * full mm invalidation. So use flush_tlb_mm() for everything.
196137fed0SPeter Zijlstra  */
20c983e92fSLey Foon Tan 
21c983e92fSLey Foon Tan #include <linux/pagemap.h>
22c983e92fSLey Foon Tan #include <asm-generic/tlb.h>
23c983e92fSLey Foon Tan 
24c983e92fSLey Foon Tan #endif /* _ASM_NIOS2_TLB_H */
25