diff options
author | Zhang Zhuoyu <Zhuoyu.Zhang@freescale.com> | 2014-05-21 06:25:32 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-05-21 13:31:30 (GMT) |
commit | a2b468f094846bca51c49c28c071accb46a18daa (patch) | |
tree | cf835b869c290c03debed1ec35036a990c96420d /fs/reiserfs/xattr.h | |
parent | f4ebcb1e70879fd90bc21f93e6740f054d71f94c (diff) | |
download | linux-fsl-qoriq-a2b468f094846bca51c49c28c071accb46a18daa.tar.xz |
cpufreq/powerpc: Fix overflow on 32-bit OS and rounding errors
12*NSEC_PER_SEC will overflow on 32-bit OS. Besides, The transition latency
is "12 internal platform clocks", rounding errors might lead to a result that
it is shorter than 12 platform clocks which is not we expected.
Signed-off-by: Zhang Zhuoyu <Zhuoyu.Zhang@freescale.com>
Change-Id: Ic8627f70abb70e964abdec0a5b4d86aa15833a7d
Reviewed-on: http://git.am.freescale.net:8181/12555
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Yuantian Tang <yuantian.tang@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'fs/reiserfs/xattr.h')
0 files changed, 0 insertions, 0 deletions