Skip to content
Commit dbdc468f authored by Abhishek Goel's avatar Abhishek Goel Committed by Shuah Khan
Browse files

cpupower : Fix cpupower working when cpu0 is offline



cpuidle_monitor used to assume that cpu0 is always online which is not
a valid assumption on POWER machines. This patch fixes this by getting
the cpu on which the current thread is running, instead of always using
cpu0 for monitoring which may not be online.

Signed-off-by: default avatarAbhishek Goel <huntbag@linux.vnet.ibm.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 53d1cd6b
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