On Wed, Jan 16, 2019 at 7:45 AM Mike Rapoport <rppt@xxxxxxxxxxxxx> wrote: > > The __memblock_alloc_base() function tries to allocate a memory up to the > limit specified by its max_addr parameter. Depending on the value of this > parameter, the __memblock_alloc_base() can is replaced with the appropriate > memblock_phys_alloc*() variant. > > Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> > --- > arch/sh/kernel/machine_kexec.c | 3 ++- > arch/x86/kernel/e820.c | 2 +- > arch/x86/mm/numa.c | 12 ++++-------- > drivers/of/of_reserved_mem.c | 7 ++----- > include/linux/memblock.h | 2 -- > mm/memblock.c | 9 ++------- > 6 files changed, 11 insertions(+), 24 deletions(-) Acked-by: Rob Herring <robh@xxxxxxxxxx>