]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita677bc265b8dbfdd6f286c5671fb5e279bb284c5
tree9dd796afe99c4be88d059efb784874c4a4a99ccf
parentcdc491715ffdad9064091fd35553a260ed3e9270
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