sparc32: switch to NO_BOOTMEM
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Mon, 6 Aug 2018 10:52:34 +0000 (13:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Aug 2018 19:40:26 +0000 (12:40 -0700)
commitcca079ef8ac29a7c02192d2bad2ffe4c0c5ffdd0
tree425b8eb4a853bf5a60a1a27d842d29fe6e88ff11
parent60ef86168247b051f2ef35ee24cb9d61c14844e7
sparc32: switch to NO_BOOTMEM

Each populated sparc_phys_bank is added to memblock.memory. The
reserve_bootmem() calls are replaced with memblock_reserve(), and the
bootmem bitmap initialization is droppped.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig
arch/sparc/mm/init_32.c