mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K
@ 2008-12-16 11:36 Jan Beulich
  2008-12-16 17:38 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2008-12-16 11:36 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

Signed-off-by: Jan Beulich <jbeulich@novell.com>

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

--- linux-2.6.28-rc8/arch/x86/kernel/setup.c	2008-12-11 14:36:52.000000000 +0100
+++ 2.6.28-rc8-x86-dmi-low-mem/arch/x86/kernel/setup.c	2008-12-15 11:35:43.000000000 +0100
@@ -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_corrupt
 
 	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] 2+ messages in thread

* Re: [PATCH] x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K
  2008-12-16 11:36 [PATCH] x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K Jan Beulich
@ 2008-12-16 17:38 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-12-16 17:38 UTC (permalink / raw)
  To: Jan Beulich; +Cc: tglx, hpa, linux-kernel


* Jan Beulich <jbeulich@novell.com> wrote:

> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> 
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-16 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-16 11:36 [PATCH] x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K Jan Beulich
2008-12-16 17:38 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®