diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-06-17 17:43:32 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-18 00:43:16 -0400 |
commit | 74b602c7147212a7495879ec23fe6c2d3b470e06 (patch) | |
tree | 70c98b21f57de109dee9b85b14c53adcbcc30389 /arch/x86 | |
parent | 813400060fe2824163cabd9afed4e476e7ce282e (diff) |
x86: fix duplicated sysfs attribute
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 2a560cefb675..5aac9e4dd136 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -1777,7 +1777,7 @@ static struct sysdev_ext_attribute attr_ignore_ce = { | |||
1777 | }; | 1777 | }; |
1778 | 1778 | ||
1779 | static struct sysdev_ext_attribute attr_cmci_disabled = { | 1779 | static struct sysdev_ext_attribute attr_cmci_disabled = { |
1780 | _SYSDEV_ATTR(ignore_ce, 0644, sysdev_show_int, set_cmci_disabled), | 1780 | _SYSDEV_ATTR(cmci_disabled, 0644, sysdev_show_int, set_cmci_disabled), |
1781 | &mce_cmci_disabled | 1781 | &mce_cmci_disabled |
1782 | }; | 1782 | }; |
1783 | 1783 | ||