Commit 74b602c7 authored by Yinghai Lu's avatar Yinghai Lu Committed by H. Peter Anvin

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: default avatarYinghai Lu <yinghai@kernel.org>
Acked-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 81340006
......@@ -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
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment