blob: f9f2e27e32dd5e7768ba9a63faac98b18516f41d [file] [log] [blame]
Ley Foon Tanc983e922014-11-06 15:19:50 +08001/*
2 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2009 Wind River Systems Inc
4 * Copyright (C) 2004 Microtronix Datacom Ltd.
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10
11#ifndef _ASM_NIOS2_TLB_H
12#define _ASM_NIOS2_TLB_H
13
Ley Foon Tanc983e922014-11-06 15:19:50 +080014extern void set_mmu_pid(unsigned long pid);
15
Peter Zijlstra6137fed2018-09-04 17:04:07 +020016/*
17 * NIOS32 does have flush_tlb_range(), but it lacks a limit and fallback to
18 * full mm invalidation. So use flush_tlb_mm() for everything.
19 */
Ley Foon Tanc983e922014-11-06 15:19:50 +080020
21#include <linux/pagemap.h>
22#include <asm-generic/tlb.h>
23
24#endif /* _ASM_NIOS2_TLB_H */