]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc80daf084051dcd6a1ad850251750a09cd94c1e3
tree2675105186f131b1e26b08d251186cc7fe0ed19e
parent21332bd4bdb02bd9d761bc26502463b58824f0b2
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