aboutsummaryrefslogtreecommitdiffstats
path: root/block/ll_rw_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/ll_rw_blk.c')
-rw-r--r--block/ll_rw_blk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index c04422a502da..eee03a3876a3 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -3403,7 +3403,7 @@ static int blk_cpu_notify(struct notifier_block *self, unsigned long action,
3403} 3403}
3404 3404
3405 3405
3406static struct notifier_block blk_cpu_notifier = { 3406static struct notifier_block __devinitdata blk_cpu_notifier = {
3407 .notifier_call = blk_cpu_notify, 3407 .notifier_call = blk_cpu_notify,
3408}; 3408};
3409 3409
@@ -3541,9 +3541,7 @@ int __init blk_dev_init(void)
3541 INIT_LIST_HEAD(&per_cpu(blk_cpu_done, i)); 3541 INIT_LIST_HEAD(&per_cpu(blk_cpu_done, i));
3542 3542
3543 open_softirq(BLOCK_SOFTIRQ, blk_done_softirq, NULL); 3543 open_softirq(BLOCK_SOFTIRQ, blk_done_softirq, NULL);
3544#ifdef CONFIG_HOTPLUG_CPU 3544 register_hotcpu_notifier(&blk_cpu_notifier);
3545 register_cpu_notifier(&blk_cpu_notifier);
3546#endif
3547 3545
3548 blk_max_low_pfn = max_low_pfn; 3546 blk_max_low_pfn = max_low_pfn;
3549 blk_max_pfn = max_pfn; 3547 blk_max_pfn = max_pfn;