|
@@ -987,16 +987,9 @@ static int __init intel_idle_probe(void)
|
|
icpu = (const struct idle_cpu *)id->driver_data;
|
|
icpu = (const struct idle_cpu *)id->driver_data;
|
|
cpuidle_state_table = icpu->state_table;
|
|
cpuidle_state_table = icpu->state_table;
|
|
|
|
|
|
- if (boot_cpu_has(X86_FEATURE_ARAT)) /* Always Reliable APIC Timer */
|
|
|
|
- lapic_timer_reliable_states = LAPIC_TIMER_ALWAYS_RELIABLE;
|
|
|
|
- else
|
|
|
|
- on_each_cpu(__setup_broadcast_timer, (void *)true, 1);
|
|
|
|
-
|
|
|
|
pr_debug(PREFIX "v" INTEL_IDLE_VERSION
|
|
pr_debug(PREFIX "v" INTEL_IDLE_VERSION
|
|
" model 0x%X\n", boot_cpu_data.x86_model);
|
|
" model 0x%X\n", boot_cpu_data.x86_model);
|
|
|
|
|
|
- pr_debug(PREFIX "lapic_timer_reliable_states 0x%x\n",
|
|
|
|
- lapic_timer_reliable_states);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1234,8 +1227,16 @@ static int __init intel_idle_init(void)
|
|
}
|
|
}
|
|
__register_cpu_notifier(&cpu_hotplug_notifier);
|
|
__register_cpu_notifier(&cpu_hotplug_notifier);
|
|
|
|
|
|
|
|
+ if (boot_cpu_has(X86_FEATURE_ARAT)) /* Always Reliable APIC Timer */
|
|
|
|
+ lapic_timer_reliable_states = LAPIC_TIMER_ALWAYS_RELIABLE;
|
|
|
|
+ else
|
|
|
|
+ on_each_cpu(__setup_broadcast_timer, (void *)true, 1);
|
|
|
|
+
|
|
cpu_notifier_register_done();
|
|
cpu_notifier_register_done();
|
|
|
|
|
|
|
|
+ pr_debug(PREFIX "lapic_timer_reliable_states 0x%x\n",
|
|
|
|
+ lapic_timer_reliable_states);
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|