]> git.baikalelectronics.ru Git - kernel.git/commit
[cpufreq] ondemand: make shutdown sequence more robust
authorLinus Torvalds <torvalds@macmini.osdl.org>
Sun, 23 Jul 2006 19:05:00 +0000 (12:05 -0700)
committerLinus Torvalds <torvalds@macmini.osdl.org>
Sun, 23 Jul 2006 19:05:00 +0000 (12:05 -0700)
commit20814a779d50a202ebf8dabab1714368aefc31a0
treead368b1f9a26d06be6e8bd26d821f17670ad2ef4
parentef95c2f508e7e4d9b986f3fe1cd8ed45c1a681bc
[cpufreq] ondemand: make shutdown sequence more robust

Shutting down the ondemand policy was fraught with potential
problems, causing issues for SMP suspend (which wants to hot-
unplug) all but the last CPU.

This should fix at least the worst problems (divide-by-zero
and infinite wait for the workqueue to shut down).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/cpufreq/cpufreq_ondemand.c