xref: /OK3568_Linux_fs/kernel/arch/xtensa/include/asm/mmu.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
3*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
4*4882a593Smuzhiyun  * for more details.
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * Copyright (C) 2001 - 2013 Tensilica Inc.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun #ifndef _XTENSA_MMU_H
10*4882a593Smuzhiyun #define _XTENSA_MMU_H
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #ifndef CONFIG_MMU
13*4882a593Smuzhiyun #include <asm-generic/mmu.h>
14*4882a593Smuzhiyun #else
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun typedef struct {
17*4882a593Smuzhiyun 	unsigned long asid[NR_CPUS];
18*4882a593Smuzhiyun 	unsigned int cpu;
19*4882a593Smuzhiyun } mm_context_t;
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif /* CONFIG_MMU */
22*4882a593Smuzhiyun #endif	/* _XTENSA_MMU_H */
23