summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-08 12:31:17 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-05-28 18:24:11 +0200
commitcb491fca55e5282f0a95ef39c55352e00d6ca75e (patch)
treeaf378d383ec2bbb2aecc9d874365787c1545f4ce /arch/x86/include/asm/mce.h
parentx86, mce: unify (diff)
downloadlinux-cb491fca55e5282f0a95ef39c55352e00d6ca75e.tar.xz
linux-cb491fca55e5282f0a95ef39c55352e00d6ca75e.zip
x86, mce: Rename sysfs variables
Shorten variable names. This also compacts the code a bit. device_mce => mce_dev mce_device_initialized => mce_dev_initialized mce_attribute => mce_attrs [ Impact: cleanup ] Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 8488210b866f..b9972a6bc2a1 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -90,7 +90,7 @@ extern int mce_disabled;
void mce_setup(struct mce *m);
void mce_log(struct mce *m);
-DECLARE_PER_CPU(struct sys_device, device_mce);
+DECLARE_PER_CPU(struct sys_device, mce_dev);
extern void (*threshold_cpu_callback)(unsigned long action, unsigned int cpu);
/*