Skip to content
Commit 2cd7cbdf authored by Linus Torvalds's avatar Linus Torvalds
Browse files

[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: default avatarLinus Torvalds <torvalds@osdl.org>
parent 12157a8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment