m68k/mm: motorola - Add missing initialization of max_pfn
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 15 Nov 2015 10:34:20 +0000 (11:34 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Nov 2015 10:35:24 +0000 (11:35 +0100)
commit79ae4fa5c0e1bc8000c39d3a78cb67828906a0e5
tree7e3c5c746e7359089d04b05e49c9fe0fdc90c16b
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
m68k/mm: motorola - 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>
arch/m68k/mm/motorola.c