summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/mmu.h')
-rw-r--r--arch/m68k/include/asm/mmu.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/mmu.h b/arch/m68k/include/asm/mmu.h
index a81d3946675f..8a11a63ee15a 100644
--- a/arch/m68k/include/asm/mmu.h
+++ b/arch/m68k/include/asm/mmu.h
@@ -1,5 +1,13 @@
-#ifdef __uClinux__
-#include "mmu_no.h"
+#ifndef __MMU_H
+#define __MMU_H
+
+#ifdef CONFIG_MMU
+/* Default "unsigned long" context */
+typedef unsigned long mm_context_t;
#else
-#include "mmu_mm.h"
+typedef struct {
+ unsigned long end_brk;
+} mm_context_t;
+#endif
+
#endif
OpenPOWER on IntegriCloud