18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _ASM_MMU_H
78c2ecf20Sopenharmony_ci#define _ASM_MMU_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <asm/vdso.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/*
128c2ecf20Sopenharmony_ci * Architecture-specific state for a mm_struct.
138c2ecf20Sopenharmony_ci * For the Hexagon Virtual Machine, it can be a copy
148c2ecf20Sopenharmony_ci * of the pointer to the page table base.
158c2ecf20Sopenharmony_ci */
168c2ecf20Sopenharmony_cistruct mm_context {
178c2ecf20Sopenharmony_ci	unsigned long long generation;
188c2ecf20Sopenharmony_ci	unsigned long ptbase;
198c2ecf20Sopenharmony_ci	struct hexagon_vdso *vdso;
208c2ecf20Sopenharmony_ci};
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_citypedef struct mm_context mm_context_t;
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif
25