projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MTD] OneNAND: release CPU in cycles
[powerpc.git]
/
drivers
/
base
/
topology.c
diff --git
a/drivers/base/topology.c
b/drivers/base/topology.c
index
c2d6216
..
28dccb7
100644
(file)
--- a/
drivers/base/topology.c
+++ b/
drivers/base/topology.c
@@
-97,8
+97,7
@@
static struct attribute_group topology_attr_group = {
/* Add/Remove cpu_topology interface for CPU device */
static int __cpuinit topology_add_dev(struct sys_device * sys_dev)
{
/* Add/Remove cpu_topology interface for CPU device */
static int __cpuinit topology_add_dev(struct sys_device * sys_dev)
{
- sysfs_create_group(&sys_dev->kobj, &topology_attr_group);
- return 0;
+ return sysfs_create_group(&sys_dev->kobj, &topology_attr_group);
}
static int __cpuinit topology_remove_dev(struct sys_device * sys_dev)
}
static int __cpuinit topology_remove_dev(struct sys_device * sys_dev)
@@
-139,7
+138,7
@@
static int __cpuinit topology_sysfs_init(void)
(void *)(long)i);
}
(void *)(long)i);
}
- register_cpu_notifier(&topology_cpu_notifier);
+ register_
hot
cpu_notifier(&topology_cpu_notifier);
return 0;
}
return 0;
}