asm-generic: add generic NOMMU versions of some headers
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / mmu.h
diff --git a/include/asm-generic/mmu.h b/include/asm-generic/mmu.h
new file mode 100644 (file)
index 0000000..4f4aa56
--- /dev/null
@@ -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 */