]> Git Repo - linux.git/commit
mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM
authorMike Rapoport <[email protected]>
Mon, 16 Sep 2019 11:13:10 +0000 (14:13 +0300)
committerPaul Burton <[email protected]>
Mon, 7 Oct 2019 16:44:31 +0000 (09:44 -0700)
commit397dc00e249ec64e106374565575dd0eb7e25998
treeb495dff60c21a7e2854e4901e4ea4b5194fd7ee7
parente4acfbc18fc9e0d75ad15a652864b3971892e423
mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM

The memory initialization of SGI-IP27 is already half-way to support
SPARSEMEM. It only had free_bootmem_with_active_regions() left-overs
interfering with sparse_memory_present_with_active_regions().

Replace these calls with simpler memblocks_present() call in prom_meminit()
and adjust arch/mips/Kconfig to enable SPARSEMEM and SPARSEMEM_EXTREME for
SGI-IP27.

Co-developed-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
arch/mips/Kconfig
arch/mips/sgi-ip27/ip27-memory.c
This page took 0.053352 seconds and 4 git commands to generate.