diff options
| author | Paul Walmsley <[email protected]> | 2019-08-07 01:28:33 +0000 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2019-08-08 23:05:38 +0000 |
| commit | 66cc016ab7c780d53450fd1648010da02ddf2770 (patch) | |
| tree | 2b30cec4d28347b7787c8239a0d4d5d9fdd1801b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dt-bindings: Update the riscv,isa string description (diff) | |
| download | kernel-66cc016ab7c780d53450fd1648010da02ddf2770.tar.gz kernel-66cc016ab7c780d53450fd1648010da02ddf2770.zip | |
riscv: delay: use do_div() instead of __udivdi3()
In preparation for removing __udivdi3() from the RISC-V
architecture-specific files, convert its one user to use do_div().
This avoids breaking the RV32 build after __udivdi3() is removed.
This second version removes the assignment of the remainder to an
unused temporary variable. Thanks to Nicolas Pitre <[email protected]>
for the suggestion.
Signed-off-by: Paul Walmsley <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
