162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __MMU_H 362306a36Sopenharmony_ci#define __MMU_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* 662306a36Sopenharmony_ci * Type for a context number. We declare it volatile to ensure proper 762306a36Sopenharmony_ci * ordering when it's accessed outside of spinlock'd critical sections 862306a36Sopenharmony_ci * (e.g., as done in activate_mm() and init_new_context()). 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_citypedef volatile unsigned long mm_context_t; 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_citypedef unsigned long nv_mm_context_t; 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#endif 15