• T
    sparc: Use HAVE_MEMBLOCK_NODE_MAP · 2a4814df
    Tejun Heo 提交于
    sparc 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.
    
    -v2: Use select in Kconfig instead as suggested by Sam Ravnborg.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: N"David S. Miller" <davem@davemloft.net>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: sparclinux@vger.kernel.org
    2a4814df
init_64.c 58.5 KB