summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/mmu.h')
-rw-r--r--arch/xtensa/include/asm/mmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/mmu.h b/arch/xtensa/include/asm/mmu.h
index 44c5bb04c55c..04890d6e2335 100644
--- a/arch/xtensa/include/asm/mmu.h
+++ b/arch/xtensa/include/asm/mmu.h
@@ -11,7 +11,12 @@
#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 */