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