[PATCH] cpu hotplug: use hotplug version of cpu notifier in appropriate places
Make use the of newly defined hotplug version of cpu_notifier functionality wherever appropriate. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Cc: Ashok Raj <ashok.raj@intel.com> 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
39f4885c56
commit
5a67e4c5b6
@@ -3541,9 +3541,7 @@ int __init blk_dev_init(void)
|
||||
INIT_LIST_HEAD(&per_cpu(blk_cpu_done, i));
|
||||
|
||||
open_softirq(BLOCK_SOFTIRQ, blk_done_softirq, NULL);
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
register_cpu_notifier(&blk_cpu_notifier);
|
||||
#endif
|
||||
register_hotcpu_notifier(&blk_cpu_notifier);
|
||||
|
||||
blk_max_low_pfn = max_low_pfn;
|
||||
blk_max_pfn = max_pfn;
|
||||
|
Reference in New Issue
Block a user