• Tejun Heo's avatar
    powerpc: Use HAVE_MEMBLOCK_NODE_MAP · 1d7cfe18
    Tejun Heo authored
    powerpc doesn't access early_node_map[] directly and enabling
    HAVE_MEMBLOCK_NODE_MAP is trivial - replacing add_active_range() calls
    with memblock_set_node() and selecting HAVE_MEMBLOCK_NODE_MAP is
    enough.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Yinghai Lu <yinghai@kernel.org>
    1d7cfe18
mem.c 15.9 KB