[PATCH] cpu hotplug: use hotplug version of registration in late inits
Use hotplug version of register_cpu_notifier in late init functions. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7c7165c908
commit
be6b5a3505
@@ -139,7 +139,7 @@ static int __cpuinit topology_sysfs_init(void)
|
||||
(void *)(long)i);
|
||||
}
|
||||
|
||||
register_cpu_notifier(&topology_cpu_notifier);
|
||||
register_hotcpu_notifier(&topology_cpu_notifier);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user