git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
base
/
cpu.c
diff --git
a/drivers/base/cpu.c
b/drivers/base/cpu.c
index
42f4337
..
aa66d71
100644
(file)
--- a/
drivers/base/cpu.c
+++ b/
drivers/base/cpu.c
@@
-32,8
+32,6
@@
static ssize_t store_online(struct sys_device *dev, const char *buf,
switch (buf[0]) {
case '0':
ret = cpu_down(cpu->sysdev.id);
switch (buf[0]) {
case '0':
ret = cpu_down(cpu->sysdev.id);
- if (!ret)
- kobject_hotplug(&dev->kobj, KOBJ_OFFLINE);
break;
case '1':
ret = cpu_up(cpu->sysdev.id);
break;
case '1':
ret = cpu_up(cpu->sysdev.id);