• Philipp Hachtmann's avatar
    mm/nobootmem: free_all_bootmem again · 354f17e1
    Philipp Hachtmann authored
    get_allocated_memblock_reserved_regions_info() should work if it is
    compiled in.  Extended the ifdef around
    get_allocated_memblock_memory_regions_info() to include
    get_allocated_memblock_reserved_regions_info() as well.  Similar changes
    in nobootmem.c/free_low_memory_core_early() where the two functions are
    called.
    
    [akpm@linux-foundation.org: cleanup]
    Signed-off-by: default avatarPhilipp Hachtmann <phacht@linux.vnet.ibm.com>
    Cc: qiuxishi <qiuxishi@huawei.com>
    Cc: David Howells <dhowells@redhat.com>
    Cc: Daeseok Youn <daeseok.youn@gmail.com>
    Cc: Jiang Liu <liuj97@gmail.com>
    Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
    Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Grygorii Strashko <grygorii.strashko@ti.com>
    Cc: Tang Chen <tangchen@cn.fujitsu.com>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    354f17e1
memblock.c 43.1 KB