aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce.c2
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 f22a9f7f6390..29ba3297e480 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -2011,7 +2011,7 @@ static __cpuinit int mce_device_create(unsigned int cpu)
2011 if (!mce_available(&boot_cpu_data)) 2011 if (!mce_available(&boot_cpu_data))
2012 return -EIO; 2012 return -EIO;
2013 2013
2014 memset(&dev->kobj, 0, sizeof(struct kobject)); 2014 memset(dev, 0, sizeof(struct device));
2015 dev->id = cpu; 2015 dev->id = cpu;
2016 dev->bus = &mce_subsys; 2016 dev->bus = &mce_subsys;
2017 2017