Commit-ID: e3346fc48204d780f92527d06df8bf6f28d603ec Gitweb: http://git.kernel.org/tip/e3346fc48204d780f92527d06df8bf6f28d603ec Author: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> AuthorDate: Tue, 28 Jul 2009 23:55:09 +0200 Committer: H. Peter Anvin <hpa@xxxxxxxxx> CommitDate: Wed, 29 Jul 2009 15:42:26 -0700 x86, mce: fix "mce" boot option handling for CONFIG_X86_NEW_MCE "mce argument mce ignored. Please use /sys" message shouldn't be printed when using "mce" boot option. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx> Reviewed-by: Andi Kleen <andi@xxxxxxxxxxxxxx> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx> --- arch/x86/kernel/cpu/mcheck/mce.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 7bd19c7..7591944 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c @@ -1549,8 +1549,10 @@ static struct miscdevice mce_log_device = { */ static int __init mcheck_enable(char *str) { - if (*str == 0) + if (*str == 0) { enable_p5_mce(); + return 1; + } if (*str == '=') str++; if (!strcmp(str, "off")) -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html