Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 1 | /* |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 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 | * |
Max Filippov | f615136 | 2013-10-17 02:42:26 +0400 | [diff] [blame] | 6 | * Copyright (C) 2001 - 2013 Tensilica Inc. |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef _XTENSA_MMU_H |
| 10 | #define _XTENSA_MMU_H |
| 11 | |
Johannes Weiner | e5083a6 | 2009-03-04 16:21:31 +0100 | [diff] [blame] | 12 | #ifndef CONFIG_MMU |
Lars-Peter Clausen | fb9de7e | 2012-12-01 14:24:44 +0100 | [diff] [blame] | 13 | #include <asm-generic/mmu.h> |
Johannes Weiner | e5083a6 | 2009-03-04 16:21:31 +0100 | [diff] [blame] | 14 | #else |
| 15 | |
Max Filippov | f615136 | 2013-10-17 02:42:26 +0400 | [diff] [blame] | 16 | typedef struct { |
| 17 | unsigned long asid[NR_CPUS]; |
| 18 | unsigned int cpu; |
| 19 | } mm_context_t; |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 20 | |
Johannes Weiner | e5083a6 | 2009-03-04 16:21:31 +0100 | [diff] [blame] | 21 | #endif /* CONFIG_MMU */ |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 22 | #endif /* _XTENSA_MMU_H */ |