diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-28 17:32:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 17:32:00 -0400 |
commit | 9e3ee1c39c0cc71222f9980ccbf87fe072897eef (patch) | |
tree | 99462000e6f0d4f907cb2fc690f19d4d441ba0f3 /drivers/cpuidle/cpuidle.c | |
parent | e56b3bc7942982ac2589c942fb345e38bc7a341a (diff) | |
parent | f934fb19ef34730263e6afc01e8ec27a8a71470f (diff) |
Merge branch 'linus' into cpus4096
Conflicts:
kernel/stop_machine.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
-rw-r--r-- | drivers/cpuidle/cpuidle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 5405769020a..5ce07b517c5 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c | |||
@@ -94,7 +94,7 @@ void cpuidle_install_idle_handler(void) | |||
94 | */ | 94 | */ |
95 | void cpuidle_uninstall_idle_handler(void) | 95 | void cpuidle_uninstall_idle_handler(void) |
96 | { | 96 | { |
97 | if (enabled_devices && (pm_idle != pm_idle_old)) { | 97 | if (enabled_devices && pm_idle_old && (pm_idle != pm_idle_old)) { |
98 | pm_idle = pm_idle_old; | 98 | pm_idle = pm_idle_old; |
99 | cpuidle_kick_cpus(); | 99 | cpuidle_kick_cpus(); |
100 | } | 100 | } |