diff options
| author | Nathan Fontenot <[email protected]> | 2021-01-25 17:35:23 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2021-01-26 16:40:32 +0000 |
| commit | 56a85eebebdba62ebf6c46bd957949cc6e926aa0 (patch) | |
| tree | 7105b31a86f4fbfad93c41007b4f915e8225ba02 /tools/power/cpupower/utils/helpers/helpers.h | |
| parent | cpupower: Update family checks when decoding HW pstates (diff) | |
| download | kernel-56a85eebebdba62ebf6c46bd957949cc6e926aa0.tar.gz kernel-56a85eebebdba62ebf6c46bd957949cc6e926aa0.zip | |
cpupower: Condense pstate enabled bit checks in decode_pstates()
The enabled bit (bit 63) is common for all families so we can remove
the multiple enabled checks based on family and have a common check
for HW pstate enabled.
Signed-off-by: Nathan Fontenot <[email protected]>
Reviewed-by: Robert Richter <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
0 files changed, 0 insertions, 0 deletions
