All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [RESEND] Fix warning with !CONFIG_X86_RESERVE_LOW_64K
@ 2008-11-12 12:49 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2008-11-12 12:49 UTC (permalink / raw)
  To: mingo, tglx, hpa, linux-kernel


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

Fix warning with !CONFIG_X86_RESERVE_LOW_64K

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
 arch/x86/kernel/setup.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.28-rc4-test/arch/x86/kernel/setup.c
===================================================================
--- linux-2.6.28-rc4-test.orig/arch/x86/kernel/setup.c	2008-10-24 13:34:40.000000000 +0200
+++ linux-2.6.28-rc4-test/arch/x86/kernel/setup.c	2008-11-10 09:06:00.000000000 +0100
@@ -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[] = {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-12 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 12:49 [PATCH] [RESEND] Fix warning with !CONFIG_X86_RESERVE_LOW_64K Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.