The quilt patch titled Subject: x86/crash: correct unused function build error has been removed from the -mm tree. Its filename was x86-crash-add-x86-crash-hotplug-support-fix.patch This patch was dropped because it was folded into x86-crash-add-x86-crash-hotplug-support.patch ------------------------------------------------------ From: Eric DeVolder <eric.devolder@xxxxxxxxxx> Subject: x86/crash: correct unused function build error Date: Mon, 21 Aug 2023 14:26:44 -0400 In certain config scenarios, an unused-function build error occurs relating to prepare_elf_headers(). Correct the ifdef guarding these functions to eliminate the build error. Link: https://lkml.kernel.org/r/20230821182644.2143-1-eric.devolder@xxxxxxxxxx Signed-off-by: Eric DeVolder <eric.devolder@xxxxxxxxxx> Suggested-by: Baoquan He <bhe@xxxxxxxxxx> Tested-by: Paul E. McKenney <paulmck@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/crash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kernel/crash.c~x86-crash-add-x86-crash-hotplug-support-fix +++ a/arch/x86/kernel/crash.c @@ -158,7 +158,7 @@ void native_machine_crash_shutdown(struc crash_save_cpu(regs, safe_smp_processor_id()); } -#if defined(CONFIG_KEXEC_FILE) || defined(CONFIG_CRASH_DUMP) +#if defined(CONFIG_KEXEC_FILE) || defined(CONFIG_CRASH_HOTPLUG) static int get_nr_ram_ranges_callback(struct resource *res, void *arg) { unsigned int *nr_ranges = arg; _ Patches currently in -mm which might be from eric.devolder@xxxxxxxxxx are crash-move-a-few-code-bits-to-setup-support-of-crash-hotplug.patch crash-add-generic-infrastructure-for-crash-hotplug-support.patch kexec-exclude-elfcorehdr-from-the-segment-digest.patch crash-memory-and-cpu-hotplug-sysfs-attributes.patch x86-crash-add-x86-crash-hotplug-support.patch crash-hotplug-support-for-kexec_load.patch crash-change-crash_prepare_elf64_headers-to-for_each_possible_cpu.patch x86-crash-optimize-cpu-changes.patch