cpupower: Fix number of idle states
authorThomas Renninger <trenn@suse.de>
Fri, 16 Dec 2011 14:35:53 +0000 (15:35 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 3 Mar 2012 13:40:09 +0000 (14:40 +0100)
commit0b37ee65e5d5e626b50852718ed72979160f7be0
tree468451924f5a4185cc2c1bb8b16775bcbf099aa6
parente03bd1aa00cff10d8a833442456a07b17dae32b8
cpupower: Fix number of idle states

The number of idle states was wrong.
The POLL idle state (on X86) was missed out:
Number of idle states: 4
Available idle states: C1-NHM C3-NHM C6-NHM

While the POLL is not a real idle state, its
statistics should still be shown. It's now also
explained in a detailed manpage.
This should fix a bug of missing the first idle
state on other archs.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
tools/power/cpupower/utils/cpuidle-info.c