e5083a63b6
Add support for !CONFIG_MMU setups. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
23 lines
479 B
C
23 lines
479 B
C
/*
|
|
* include/asm-xtensa/mmu.h
|
|
*
|
|
* 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.
|
|
*
|
|
* Copyright (C) 2001 - 2005 Tensilica Inc.
|
|
*/
|
|
|
|
#ifndef _XTENSA_MMU_H
|
|
#define _XTENSA_MMU_H
|
|
|
|
#ifndef CONFIG_MMU
|
|
#include <asm/nommu.h>
|
|
#else
|
|
|
|
/* Default "unsigned long" context */
|
|
typedef unsigned long mm_context_t;
|
|
|
|
#endif /* CONFIG_MMU */
|
|
#endif /* _XTENSA_MMU_H */
|