xref: /linux/arch/arc/include/asm/mmu.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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 struct pt_regs;
18 extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *);
19 
20 #endif
21 
22 #include <asm/mmu-arcv2.h>
23 
24 #endif
25