summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/mmu.h
diff options
context:
space:
mode:
authorJohannes Weiner <jw@emlix.com>2009-03-04 16:21:31 +0100
committerChris Zankel <chris@zankel.net>2009-04-02 23:41:50 -0700
commite5083a63b6a8546c5fe1e571fe529e3939787ec2 (patch)
tree5c11db5b0a924f8bcfc404c202630d37ccfd7c3c /arch/xtensa/include/asm/mmu.h
parent7789f89af9e8e426d7a7f173cf465a4fcadba7dd (diff)
downloadtalos-op-linux-e5083a63b6a8546c5fe1e571fe529e3939787ec2.tar.gz
talos-op-linux-e5083a63b6a8546c5fe1e571fe529e3939787ec2.zip
xtensa: nommu support
Add support for !CONFIG_MMU setups. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
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 */
OpenPOWER on IntegriCloud