[PATCH v9 2/8] crash_core: fold duplicated memblock arch hooks into the weak default
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Oct 22 01:33:05 PDT 2026
> From: Wandun Chen <chenwandun at lixiang.com>
>
> arm64, loongarch and riscv open-code the same memblock walk in
> arch_get_system_nr_ranges() and arch_crash_populate_cmem(). Move it into
> the __weak defaults in kernel/crash_core.c and delete the arch copies.
>
> No functional change.
>
> Signed-off-by: Wandun Chen <chenwandun at lixiang.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261021083011.2170525-1-chenwandun1@gmail.com?part=2
More information about the kexec
mailing list