x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K
PATCH 1/1 x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K
Signed-off-by Jan Beulich <[email protected]>
--- arch/x86/kernel/setup.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/kernel/setup.c +2 -0
@@ -738,6 +738,7 @@ void start_periodic_check_for_corruption }#endif +#ifdef CONFIG_X86_RESERVE_LOW_64K static int __init dmi_low_memory_corruption (const struct dmi_system_id *d) { printk(KERN_NOTICE
@@ -749,6 +750,7 @@ static int __init dmi_low_memory_corruptreturn 0 ; } +#endif /* List of systems that have known low memory corruption BIOS problems */ static struct dmi_system_id __initdata bad_bios_dmi_table[] = {
Quoted 5 lines · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>--- arch/x86/kernel/setup.c | 2 ++ 1 file changed, 2 insertions(+)
already fixed in the x86 tree:
bb55746: x86: fix arch/x86/kernel/setup.c build warning when !CONFIG_X86_RESERVE_L
about a month ago.
Ingo