m68k: mm: fix node memblock init
authorAngelo Dureghello <angelo.dureghello@timesys.com>
Wed, 17 Jun 2020 06:53:41 +0000 (09:53 +0300)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 29 Jun 2020 13:58:05 +0000 (23:58 +1000)
commitc43e55796dd4d13f4855971a4d7970ce2cd94db4
treef4baf0ce74b14b0512309f843114bb7747ebf2ed
parentd63bd8c81d8ab64db506ffde569cc8ff197516e2
m68k: mm: fix node memblock init

After pulling 5.7.0 (linux-next merge), mcf5441x mmu boot was
hanging silently.

memblock_add() seems not appropriate, since using MAX_NUMNODES
as node id, while memblock_add_node() sets up memory for node id 0.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/mm/mcfmmu.c