2019-06-04 10:11:33 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2013-01-18 15:12:19 +05:30
|
|
|
/*
|
|
|
|
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_ARC_MMU_H
|
|
|
|
#define _ASM_ARC_MMU_H
|
|
|
|
|
2017-05-05 11:59:41 -07:00
|
|
|
#ifndef __ASSEMBLY__
|
2013-05-14 13:28:17 +05:30
|
|
|
|
2020-10-01 19:39:15 -07:00
|
|
|
#include <linux/threads.h> /* NR_CPUS */
|
2013-01-18 15:12:19 +05:30
|
|
|
|
|
|
|
typedef struct {
|
2013-08-23 19:16:34 +05:30
|
|
|
unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */
|
2013-01-18 15:12:19 +05:30
|
|
|
} mm_context_t;
|
|
|
|
|
2023-12-05 21:53:22 -05:00
|
|
|
struct pt_regs;
|
2023-08-12 18:23:59 -07:00
|
|
|
extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *);
|
|
|
|
|
2019-09-13 15:20:01 -07:00
|
|
|
#endif
|
2019-09-16 10:54:34 -07:00
|
|
|
|
2020-10-01 19:39:15 -07:00
|
|
|
#include <asm/mmu-arcv2.h>
|
2013-05-14 13:28:17 +05:30
|
|
|
|
2013-01-18 15:12:19 +05:30
|
|
|
#endif
|