diff options
author | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
commit | d120cfb544ed6161b9d32fb6c4648c471807ee6b (patch) | |
tree | 7757ad0198d8df76ff5c60f939a687687c41da00 /block | |
parent | 9dce0e950dbfab4148f35ac6f297d8638cdc63c4 (diff) | |
parent | bf7e8511088963078484132636839b59e25cf14f (diff) |
merge linus into release branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
Diffstat (limited to 'block')
-rw-r--r-- | block/ll_rw_blk.c | 6 |
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 | ||
3406 | static struct notifier_block blk_cpu_notifier = { | 3406 | static 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; |