xref: /OK3568_Linux_fs/kernel/arch/ia64/include/asm/mmu.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef __MMU_H
3*4882a593Smuzhiyun #define __MMU_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun /*
6*4882a593Smuzhiyun  * Type for a context number.  We declare it volatile to ensure proper
7*4882a593Smuzhiyun  * ordering when it's accessed outside of spinlock'd critical sections
8*4882a593Smuzhiyun  * (e.g., as done in activate_mm() and init_new_context()).
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun typedef volatile unsigned long mm_context_t;
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun typedef unsigned long nv_mm_context_t;
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15