[PATCH 08/21] memblock: drop __memblock_alloc_base()
Rob Herring
robh+dt at kernel.org
Thu Jan 17 02:15:45 AEDT 2019
On Wed, Jan 16, 2019 at 7:45 AM Mike Rapoport <rppt at linux.ibm.com> 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 at linux.ibm.com>
> ---
> 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 at kernel.org>
More information about the Linuxppc-dev
mailing list