xref: /openbmc/linux/arch/hexagon/include/asm/mmu.h (revision b08918fb)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _ASM_MMU_H
7 #define _ASM_MMU_H
8 
9 #include <asm/vdso.h>
10 
11 /*
12  * Architecture-specific state for a mm_struct.
13  * For the Hexagon Virtual Machine, it can be a copy
14  * of the pointer to the page table base.
15  */
16 struct mm_context {
17 	unsigned long long generation;
18 	unsigned long ptbase;
19 	struct hexagon_vdso *vdso;
20 };
21 
22 typedef struct mm_context mm_context_t;
23 
24 #endif
25