projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94699b0
)
x86, mce: fix "mce" boot option handling for CONFIG_X86_NEW_MCE
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 28 Jul 2009 21:55:09 +0000
(23:55 +0200)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 29 Jul 2009 22:42:26 +0000
(15:42 -0700)
"mce argument mce ignored. Please use /sys" message shouldn't
be printed when using "mce" boot option.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/mcheck/mce.c
b/arch/x86/kernel/cpu/mcheck/mce.c
index 7bd19c7f5315f2e308ced30ae3f4d291a42cc739..75919440a1883419a15b30bb514f78627a1593d1 100644
(file)
--- 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"))