mm: make memblock_alloc_base_nid() non-static
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:15 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 12:34:25 +0000 (23:34 +1100)
commitb575454fa330aab2d65cf17812ca8e1f405ae80d
tree2675105186f131b1e26b08d251186cc7fe0ed19e
parent384e8067844fc19f9c067d6b03cbc8781f98bd5d
mm: make memblock_alloc_base_nid() non-static

This will be used by powerpc to allocate per-cpu stacks and other
data structures node-local where possible.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Drop stray change to memblock_alloc_range() as noticed by akpm]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
include/linux/memblock.h
mm/memblock.c