m68k: mm: Move the pointer table allocator to motorola.c
authorPeter Zijlstra <peterz@infradead.org>
Fri, 31 Jan 2020 12:45:35 +0000 (13:45 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 10 Feb 2020 09:57:48 +0000 (10:57 +0100)
commit5ad272abee9fe0a781d49b03f334c0a3b3e418c1
tree56bda1957ead57e29ffcfe23454d360baea5108f
parent13076a29d52e91d29ab6b13e7279c9eacd0b6dbb
m68k: mm: Move the pointer table allocator to motorola.c

Only the Motorola MMU makes use of this allocator, it is a waste of
.text to include it for Sun3/ColdFire. Also, this is going to avoid
build issues when we're going to make it more Motorola specific.

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.654652162@infradead.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/memory.c
arch/m68k/mm/motorola.c