[RFC][PATCH] Use correct config option in arch/i386/kernel/alternative.c

From: Michal Piotrowski
Date: Tue Jul 31 2007 - 16:37:00 EST


Hi,

File /home/devel/linux-rdc/arch/i386/kernel/alternative.c line 382
Unknown CONFIG option! CONFIG_MCE
File /home/devel/linux-rdc/arch/i386/kernel/alternative.c line 420
Unknown CONFIG option! CONFIG_MCE

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx>

--- linux-rdc-clean/arch/i386/kernel/alternative.c 2007-07-31 17:17:34.000000000 +0200
+++ linux-rdc/arch/i386/kernel/alternative.c 2007-07-31 18:52:07.000000000 +0200
@@ -379,7 +379,7 @@ void __init alternative_instructions(voi
that might execute the to be patched code.
Other CPUs are not running. */
stop_nmi();
-#ifdef CONFIG_MCE
+#ifdef CONFIG_X86_MCE
stop_mce();
#endif

@@ -417,7 +417,7 @@ void __init alternative_instructions(voi
local_irq_restore(flags);

restart_nmi();
-#ifdef CONFIG_MCE
+#ifdef CONFIG_X86_MCE
restart_mce();
#endif
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/