]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/xtensa/include/asm/mmu_context.h
xtensa: nommu support
[linux-2.6-omap-h63xx.git] / arch / xtensa / include / asm / mmu_context.h
index 6b7c19c8f4ceded1156ff7fd667c0c94e85941d6..dbd8731a876aec90c2765df2dd1a1c6d5e2310d0 100644 (file)
 #ifndef _XTENSA_MMU_CONTEXT_H
 #define _XTENSA_MMU_CONTEXT_H
 
+#ifndef CONFIG_MMU
+#include <asm/nommu_context.h>
+#else
+
 #include <linux/stringify.h>
 #include <linux/sched.h>
 
@@ -133,4 +137,5 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
 
 }
 
+#endif /* CONFIG_MMU */
 #endif /* _XTENSA_MMU_CONTEXT_H */