diff options
| author | Andy Shevchenko <[email protected]> | 2021-11-25 23:31:59 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-12-03 14:26:15 +0100 |
| commit | d059ed1ba27bf0606471ac407008ddd1f65c4be4 (patch) | |
| tree | f928afa2b800420b5331fa4d2558b2acfdbe897d /tools/perf/scripts/python/flamegraph.py | |
| parent | 01d3c42a08021617ad8ee79b0a9fed91d68e32b6 (diff) | |
misc: at25: Switch to use BIT() instead of custom approaches
It's obvious that custom approach of getting power of 2 number with
int_pow() kinda interesting. Replace it and some others approaches
by using a simple BIT() operation.
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions