Skip to content

Commit 6ed2db9

Browse files
author
Greg Ungerer
committed
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>
1 parent 968f0e1 commit 6ed2db9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • arch/m68k/include/asm

arch/m68k/include/asm/mmu.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
/* Default "unsigned long" context */
77
typedef unsigned long mm_context_t;
88
#else
9-
typedef struct {
10-
unsigned long end_brk;
11-
} mm_context_t;
9+
#include <asm-generic/mmu.h>
1210
#endif
1311

1412
#endif

0 commit comments

Comments
 (0)