M7350/kernel/arch/xtensa/include/asm/mmu.h

23 lines
462 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
2024-09-09 08:57:42 +00:00
* Copyright (C) 2001 - 2013 Tensilica Inc.
2024-09-09 08:52:07 +00:00
*/
#ifndef _XTENSA_MMU_H
#define _XTENSA_MMU_H
#ifndef CONFIG_MMU
2024-09-09 08:57:42 +00:00
#include <asm-generic/mmu.h>
2024-09-09 08:52:07 +00:00
#else
2024-09-09 08:57:42 +00:00
typedef struct {
unsigned long asid[NR_CPUS];
unsigned int cpu;
} mm_context_t;
2024-09-09 08:52:07 +00:00
#endif /* CONFIG_MMU */
#endif /* _XTENSA_MMU_H */