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