m68k: mm: Unify Motorola MMU page setup
authorPeter Zijlstra <peterz@infradead.org>
Fri, 31 Jan 2020 12:45:34 +0000 (13:45 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 10 Feb 2020 09:57:48 +0000 (10:57 +0100)
commit13076a29d52e91d29ab6b13e7279c9eacd0b6dbb
tree0f570e991c449c46f76d9868e3c79c4a38912967
parentfd1aa6303c4d6f3c1489eadc5cc37e581c3b41ea
m68k: mm: Unify Motorola MMU page setup

Seeing how there are 5 copies of this magic code, one of which is
unexplainably different, unify and document things.

Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/r/20200131125403.597688427@infradead.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/motorola_pgalloc.h
arch/m68k/mm/memory.c
arch/m68k/mm/motorola.c