]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/x86/kernel/apm_32.c
Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'pm-domains'
[linux.git] / arch / x86 / kernel / apm_32.c
index e4b0d92b3ae067cec7f68acc76d7ac4615fe43b1..2a7fd56e67b364abd75e4d340faba01998f57b1c 100644 (file)
@@ -2389,6 +2389,7 @@ static int __init apm_init(void)
        if (HZ != 100)
                idle_period = (idle_period * HZ) / 100;
        if (idle_threshold < 100) {
+               cpuidle_poll_state_init(&apm_idle_driver);
                if (!cpuidle_register_driver(&apm_idle_driver))
                        if (cpuidle_register_device(&apm_cpuidle_device))
                                cpuidle_unregister_driver(&apm_idle_driver);