diff options
author | 2018-02-06 17:36:17 -0600 | |
---|---|---|
committer | 2018-02-07 11:15:02 +0100 | |
commit | b52f451105020677cad61a13b3b67af3fdedb91f (patch) | |
tree | 472e39c7427a8e3dd1d29232b06c92140d0227da /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge tag 'acpi-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
download | linux-dev-b52f451105020677cad61a13b3b67af3fdedb91f.tar.xz linux-dev-b52f451105020677cad61a13b3b67af3fdedb91f.zip |
ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit
Add suffix ULL to constant 500 in order to give the compiler complete
information about the proper arithmetic to use. Notice that this
constant is used in a context that expects an expression of type
u64 (64 bits, unsigned).
The expression NUM_RETRIES * cppc_ss->latency at line 578, which at
preprocessing time translates to 500 * cppc_ss->latency is currently
being evaluated using 32-bit arithmetic.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions