Skip to contentSkip to conversation

Fix warning with !CONFIG_X86_RESERVE_LOW_64K

PATCH RESEND New Andi Kleen 1 participant 1 message Nov 12, 2008 x86

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH RESEND 1/1 Fix warning with !CONFIG_X86_RESERVE_LOW_64K

[Sent this patch earlier together with another, but it seems to have escaped your attention.]

Fix warning with !CONFIG_X86_RESERVE_LOW_64K

---
 arch/x86/kernel/setup.c |    2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/setup.c +2 -0
Index: linux-2.6.28-rc4-test/arch/x86/kernel/setup.c
===================================================================
@@ -738,6 +738,7 @@
 }
 #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 @@
 
 	return 0;
 }
+#endif
 
 /* List of systems that have known low memory corruption BIOS problems */
 static struct dmi_system_id __initdata bad_bios_dmi_table[] = {