diff options
author | Thomas Renninger <trenn@suse.de> | 2011-01-07 05:29:43 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 12:47:31 -0500 |
commit | 720f1c3010db6a411358b962a2007969117840bc (patch) | |
tree | aee96003008b8cb5873d2e0adc4188bdebef2cfa /drivers/cpuidle | |
parent | d18960494f65ca4fa0d67c865aaca99452070d15 (diff) |
cpuidle: Rename X86 specific idle poll state[0] from C0 to POLL
C0 means and is well know as "not idle".
All documentation out there uses this term as "running"/"not idle"
state. Also Linux userspace tools (e.g. cpufreq-aperf and turbostat)
show C0 residency which there is correct, but means something totally
else than cpuidle "POLL" state.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-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 97df791c74cb..37e446041306 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c | |||
@@ -181,7 +181,7 @@ static void poll_idle_init(struct cpuidle_device *dev) | |||
181 | 181 | ||
182 | cpuidle_set_statedata(state, NULL); | 182 | cpuidle_set_statedata(state, NULL); |
183 | 183 | ||
184 | snprintf(state->name, CPUIDLE_NAME_LEN, "C0"); | 184 | snprintf(state->name, CPUIDLE_NAME_LEN, "POLL"); |
185 | snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE"); | 185 | snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE"); |
186 | state->exit_latency = 0; | 186 | state->exit_latency = 0; |
187 | state->target_residency = 0; | 187 | state->target_residency = 0; |