diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-08-11 10:53:37 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-08-15 09:56:03 -0500 |
commit | 39c6b3a3dd118173c6da32daacd2eed8cfc5951d (patch) | |
tree | 0ff0fa1e683ea27c83eab87af2095a11b5b943b7 /include/linux/of_fdt.h | |
parent | 18250b43f7b6d0085724bf6fc186f9a107066068 (diff) | |
download | lwn-39c6b3a3dd118173c6da32daacd2eed8cfc5951d.tar.gz lwn-39c6b3a3dd118173c6da32daacd2eed8cfc5951d.zip |
of: fdt: Remove weak early_init_dt_mark_hotplug_memory_arch()
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@glider.be>
Link: https://lore.kernel.org/r/1a61f75ec50d3c2922fcdbe33337266a58a4125f.1628671960.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_fdt.h')
-rw-r--r-- | include/linux/of_fdt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index 3b1500a0116f..cf6a65b94d40 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -67,7 +67,6 @@ extern void early_init_fdt_scan_reserved_mem(void); extern void early_init_fdt_reserve_self(void); extern void __init early_init_dt_scan_chosen_arch(unsigned long node); extern void early_init_dt_add_memory_arch(u64 base, u64 size); -extern int early_init_dt_mark_hotplug_memory_arch(u64 base, u64 size); extern u64 dt_mem_next_cell(int s, const __be32 **cellp); /* Early flat tree scan hooks */ |