18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2001 - 2013 Tensilica Inc. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef _XTENSA_MMU_H 108c2ecf20Sopenharmony_ci#define _XTENSA_MMU_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef CONFIG_MMU 138c2ecf20Sopenharmony_ci#include <asm-generic/mmu.h> 148c2ecf20Sopenharmony_ci#else 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_citypedef struct { 178c2ecf20Sopenharmony_ci unsigned long asid[NR_CPUS]; 188c2ecf20Sopenharmony_ci unsigned int cpu; 198c2ecf20Sopenharmony_ci} mm_context_t; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* CONFIG_MMU */ 228c2ecf20Sopenharmony_ci#endif /* _XTENSA_MMU_H */ 23