Re: [PATCH] of: fdt: Remove weak early_init_dt_mark_hotplug_memory_arch()

From: Rob Herring
Date: Sun Aug 15 2021 - 10:55:38 EST


On Wed, 11 Aug 2021 10:53:37 +0200, Geert Uytterhoeven wrote:
> Commit 41a9ada3e6b4253f ("of/fdt: mark hotpluggable memory") introduced
> two (for systems with and without memblock) weak versions of
> early_init_dt_mark_hotplug_memory_arch(), that could be overridden by an
> architecture-specific version. However, no overrides ever emerged.
> Later, commit aca52c3983891060 ("mm: remove CONFIG_HAVE_MEMBLOCK")
> removed the non-memblock version.
>
> Remove early_init_dt_mark_hotplug_memory_arch(), and replace it by a
> direct call to memblock_mark_hotplug().
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> drivers/of/fdt.c | 7 +------
> include/linux/of_fdt.h | 1 -
> 2 files changed, 1 insertion(+), 7 deletions(-)
>

Applied, thanks!