summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2022-04-26 04:59:53 +0300
committerGreg Ungerer <gerg@linux-m68k.org>2022-05-16 06:18:30 +0300
commit6ed2db985a8db06c4e3d4de622d8c894a20827ae (patch)
tree9245b178955106fd1a653341310eaa668c15883d /arch/m68k
parent968f0e1ce923ff2e67a97edba7cccc006b0e9207 (diff)
downloadlinux-6ed2db985a8db06c4e3d4de622d8c894a20827ae.tar.xz
m68knommu: use asm-generic/mmu.h for nommu setups
The nommu case defines its own local mm_context_t structure. There is nothing special or different about the m68knommu version of this and it can easily use the common asm-generic version. Remove the local mmu_context struct and include the asm-generic version instead. This will also make it easier to support ELF format executables in the future (since the asm-generic version has support for this already). Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/mmu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/mmu.h b/arch/m68k/include/asm/mmu.h
index 5c15aacb1370..e00672425b00 100644
--- a/arch/m68k/include/asm/mmu.h
+++ b/arch/m68k/include/asm/mmu.h
@@ -6,9 +6,7 @@
/* Default "unsigned long" context */
typedef unsigned long mm_context_t;
#else
-typedef struct {
- unsigned long end_brk;
-} mm_context_t;
+#include <asm-generic/mmu.h>
#endif
#endif