lkml.org 
[lkml]   [2008]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] x86: fix compiler warning without CONFIG_X86_RESERVE_LOW_64K
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[] = {




\
 
 \ /
  Last update: 2008-12-16 12:39    [W:0.033 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site