diff options
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r-- | drivers/idle/intel_idle.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index c49c04d9c2b0..2df9414a72f7 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c | |||
@@ -448,8 +448,6 @@ static int intel_idle_probe(void) | |||
448 | else | 448 | else |
449 | on_each_cpu(__setup_broadcast_timer, (void *)true, 1); | 449 | on_each_cpu(__setup_broadcast_timer, (void *)true, 1); |
450 | 450 | ||
451 | register_cpu_notifier(&cpu_hotplug_notifier); | ||
452 | |||
453 | pr_debug(PREFIX "v" INTEL_IDLE_VERSION | 451 | pr_debug(PREFIX "v" INTEL_IDLE_VERSION |
454 | " model 0x%X\n", boot_cpu_data.x86_model); | 452 | " model 0x%X\n", boot_cpu_data.x86_model); |
455 | 453 | ||
@@ -506,7 +504,7 @@ static int intel_idle_cpuidle_driver_init(void) | |||
506 | if (*cpuidle_state_table[cstate].name == '\0') | 504 | if (*cpuidle_state_table[cstate].name == '\0') |
507 | pr_debug(PREFIX "unaware of model 0x%x" | 505 | pr_debug(PREFIX "unaware of model 0x%x" |
508 | " MWAIT %d please" | 506 | " MWAIT %d please" |
509 | " contact lenb@kernel.org", | 507 | " contact lenb@kernel.org\n", |
510 | boot_cpu_data.x86_model, cstate); | 508 | boot_cpu_data.x86_model, cstate); |
511 | continue; | 509 | continue; |
512 | } | 510 | } |
@@ -612,6 +610,7 @@ static int __init intel_idle_init(void) | |||
612 | return retval; | 610 | return retval; |
613 | } | 611 | } |
614 | } | 612 | } |
613 | register_cpu_notifier(&cpu_hotplug_notifier); | ||
615 | 614 | ||
616 | return 0; | 615 | return 0; |
617 | } | 616 | } |