aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDinh Nguyen <[email protected]>2020-01-14 16:07:25 +0000
committerStephen Boyd <[email protected]>2020-02-12 23:41:28 +0000
commitcc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c (patch)
tree628caa57eba05bb2e067eb5006b42be41d69e2da /tools/perf/util/scripting-engines/trace-event-python.c
parentLinux 5.6-rc1 (diff)
downloadkernel-cc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c.tar.gz
kernel-cc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c.zip
clk: stratix10: use do_div() for 64-bit calculation
do_div() macro to perform u64 division and guards against overflow if the result is too large for the unsigned long return type. Signed-off-by: Dinh Nguyen <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions