diff options
author | Len Brown <len.brown@intel.com> | 2017-04-29 00:11:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-04-29 00:11:46 -0400 |
commit | 2fc49cb0b508947bf048ecb0f5710169e62ce68e (patch) | |
tree | 0cf27e1a00912ff4eba997deb032fba250608ab9 /tools/power/x86/x86_energy_perf_policy | |
parent | 8d84e906f5db80540510e448226f2718a686eb2a (diff) |
x86: msr-index.h: fix shifts to ULL results in HWP macros.
x = 1
ulong_long = x << 32;
results in:
warning: left shift count >= width of type
x = 8
ulong_long = x << 24;
results in a sign extended ulong_long
Cast x to unsigned long long in these macros
to prevent these errors.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/x86_energy_perf_policy')
0 files changed, 0 insertions, 0 deletions