summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/mmu.h')
-rw-r--r--include/asm-generic/mmu.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-generic/mmu.h b/include/asm-generic/mmu.h
new file mode 100644
index 000000000000..4f4aa56d6b52
--- /dev/null
+++ b/include/asm-generic/mmu.h
@@ -0,0 +1,15 @@
+#ifndef __ASM_GENERIC_MMU_H
+#define __ASM_GENERIC_MMU_H
+
+/*
+ * This is the mmu.h header for nommu implementations.
+ * Architectures with an MMU need something more complex.
+ */
+#ifndef __ASSEMBLY__
+typedef struct {
+ struct vm_list_struct *vmlist;
+ unsigned long end_brk;
+} mm_context_t;
+#endif
+
+#endif /* __ASM_GENERIC_MMU_H */
OpenPOWER on IntegriCloud