m68knommu: use asm-generic/mmu.h for nommu setups
authorGreg Ungerer <gerg@linux-m68k.org>
Tue, 26 Apr 2022 01:59:53 +0000 (11:59 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 16 May 2022 03:18:30 +0000 (13:18 +1000)
commit6ed2db985a8db06c4e3d4de622d8c894a20827ae
tree9245b178955106fd1a653341310eaa668c15883d
parent968f0e1ce923ff2e67a97edba7cccc006b0e9207
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>
arch/m68k/include/asm/mmu.h