diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index 0bf2dc11cdb8..b79badd0f158 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c | |||
@@ -44,6 +44,8 @@ static ssize_t store_online(struct sys_device *dev, const char *buf, | |||
44 | ret = smp_prepare_cpu(cpu->sysdev.id); | 44 | ret = smp_prepare_cpu(cpu->sysdev.id); |
45 | if (!ret) | 45 | if (!ret) |
46 | ret = cpu_up(cpu->sysdev.id); | 46 | ret = cpu_up(cpu->sysdev.id); |
47 | if (!ret) | ||
48 | kobject_hotplug(&dev->kobj, KOBJ_ONLINE); | ||
47 | break; | 49 | break; |
48 | default: | 50 | default: |
49 | ret = -EINVAL; | 51 | ret = -EINVAL; |