blob: 71afe418d0e53e2d9239b261cd34a2efc8d4f9ac [file] [log] [blame]
Chris Zankel9a8fd552005-06-23 22:01:26 -07001/*
Chris Zankel9a8fd552005-06-23 22:01:26 -07002 * 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 Filippovf6151362013-10-17 02:42:26 +04006 * Copyright (C) 2001 - 2013 Tensilica Inc.
Chris Zankel9a8fd552005-06-23 22:01:26 -07007 */
8
9#ifndef _XTENSA_MMU_H
10#define _XTENSA_MMU_H
11
Johannes Weinere5083a62009-03-04 16:21:31 +010012#ifndef CONFIG_MMU
Lars-Peter Clausenfb9de7e2012-12-01 14:24:44 +010013#include <asm-generic/mmu.h>
Johannes Weinere5083a62009-03-04 16:21:31 +010014#else
15
Max Filippovf6151362013-10-17 02:42:26 +040016typedef struct {
17 unsigned long asid[NR_CPUS];
18 unsigned int cpu;
19} mm_context_t;
Chris Zankel9a8fd552005-06-23 22:01:26 -070020
Johannes Weinere5083a62009-03-04 16:21:31 +010021#endif /* CONFIG_MMU */
Chris Zankel9a8fd552005-06-23 22:01:26 -070022#endif /* _XTENSA_MMU_H */