xref: /openbmc/linux/arch/arc/include/asm/mmu.h (revision cc3519b8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4  */
5 
6 #ifndef _ASM_ARC_MMU_H
7 #define _ASM_ARC_MMU_H
8 
9 #ifndef __ASSEMBLY__
10 
11 #include <linux/threads.h>	/* NR_CPUS */
12 
13 typedef struct {
14 	unsigned long asid[NR_CPUS];	/* 8 bit MMU PID + Generation cycle */
15 } mm_context_t;
16 
17 extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *);
18 
19 #endif
20 
21 #include <asm/mmu-arcv2.h>
22 
23 #endif
24