m68k/mm: m54xx - Add missing initialization of max_pfn
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 15 Nov 2015 10:36:29 +0000 (11:36 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Nov 2015 10:35:24 +0000 (11:35 +0100)
commit4722b8feb0dc53a01a051f36846bef5a95d91a46
tree9dd796afe99c4be88d059efb784874c4a4a99ccf
parent79ae4fa5c0e1bc8000c39d3a78cb67828906a0e5
m68k/mm: m54xx - Add missing initialization of max_pfn

If max_pfn is not initialized, the various /proc/kpage* files are empty,
and selftests/vm/mlock2-tests will fail. max_pfn is also used by the
block layer to calculate DMA masks.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Tested-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/coldfire/m54xx.c