The following patch removes a warning generated when the x86 architecture is compitled without CONFIG_X86_RESERVE_LOW_64K. The warning was: ‘dmi_low_memory_corruption’ defined but not used Patch is against 2.6.28.1 Signed-off-by: Daniele Venzano <venza@xxxxxxxxxxxx> --- a/arch/x86/kernel/setup.c 2009-01-22 13:57:16.000000000 +0100 +++ b/arch/x86/kernel/setup.c 2009-01-22 13:57:39.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[] = { -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html