summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2017-04-29 07:11:46 +0300
committerLen Brown <len.brown@intel.com>2017-04-29 07:11:46 +0300
commit2fc49cb0b508947bf048ecb0f5710169e62ce68e (patch)
tree0cf27e1a00912ff4eba997deb032fba250608ab9 /tools/power
parent8d84e906f5db80540510e448226f2718a686eb2a (diff)
downloadlinux-2fc49cb0b508947bf048ecb0f5710169e62ce68e.tar.xz
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')
0 files changed, 0 insertions, 0 deletions