diff options
| author | Wang Qing <[email protected]> | 2022-02-09 00:34:55 -0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-05-04 19:37:46 +1000 |
| commit | f44cf716e46c2786a9f4ba26a78705b42412983c (patch) | |
| tree | 5774952659100c21811d5b6b99104e1277a98934 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | dcbff9ad418497c2608d4b4d9423efc8e87e130e (diff) | |
powerpc/5xx: Drop unnecessary cast
do_div() does a 64-by-32 division, the 2nd parameter is a u32.
gbp->ipb_freq is already a u32, there's no need to transform it to u64
before passing it to do_div().
Signed-off-by: Wang Qing <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
[mpe: Add some detail to change log]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions