diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-08-01 10:27:15 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-08-03 01:52:17 +0200 |
commit | 4c51cb005b29e6329d7e598bf835689b230817c9 (patch) | |
tree | b337f62cd0df5d9ccff8c64e2b2d0da1c44c5622 /kernel/kexec.c | |
parent | x86/pmc_atom: Expose PMC device state and platform sleep state (diff) | |
download | linux-4c51cb005b29e6329d7e598bf835689b230817c9.tar.xz linux-4c51cb005b29e6329d7e598bf835689b230817c9.zip |
x86/pmc_atom: Silence shift wrapping warnings in pmc_sleep_tmr_show()
I don't know if we really need 64 bits here but these variables are
declared as u64 and it can't hurt to cast this so we prevent any shift
wrapping.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Aubrey Li <aubrey.li@linux.intel.com>
Link: http://lkml.kernel.org/r/20140801082715.GE28869@mwanda
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions