From: Jeff Mahoney Date: Sun, 19 Feb 2012 17:00:16 +0000 (-0500) Subject: - Updated to 3.3-rc4. X-Git-Url: http://git.alex.org.uk - Updated to 3.3-rc4. suse-commit: 8831dca9fae1c3f016cf5b2e925529d56dc16661 --- 8df73c1242f70155a2d2162a3ed130d97a735246 diff --cc drivers/base/cpu.c index 2a0c670,4dabf50..adf937b --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@@ -222,11 -240,10 +241,13 @@@ int __cpuinit register_cpu(struct cpu * int error; cpu->node_id = cpu_to_node(num); + memset(&cpu->dev, 0x00, sizeof(struct device)); cpu->dev.id = num; cpu->dev.bus = &cpu_subsys; + cpu->dev.release = cpu_device_release; +#ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE + cpu->dev.bus->uevent = arch_cpu_uevent; +#endif error = device_register(&cpu->dev); if (!error && cpu->hotpluggable) register_cpu_control(cpu);