x86: fix duplicated sysfs attribute
authorYinghai Lu <yinghai@kernel.org>
Wed, 17 Jun 2009 21:43:32 +0000 (14:43 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Jun 2009 04:43:16 +0000 (21:43 -0700)
The sysfs attribute cmci_disabled was accidentall turned into a
duplicate of ignore_ce, breaking all other attributes.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c

index 2a560ce..5aac9e4 100644 (file)
@@ -1777,7 +1777,7 @@ static struct sysdev_ext_attribute attr_ignore_ce = {
 };
 
 static struct sysdev_ext_attribute attr_cmci_disabled = {
-       _SYSDEV_ATTR(ignore_ce, 0644, sysdev_show_int, set_cmci_disabled),
+       _SYSDEV_ATTR(cmci_disabled, 0644, sysdev_show_int, set_cmci_disabled),
        &mce_cmci_disabled
 };