[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)
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>

No differences found