diff options
author | Giovanni Cabiddu <[email protected]> | 2021-09-28 12:44:34 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2021-10-08 20:02:42 +0800 |
commit | c3878a786be09d3f7df17936c922be430cdd4e8e (patch) | |
tree | 1d9f0488df16d65aff890eede6791fe1151db8b0 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b79c7532dc337c87365fda62914eaeb0e038160d (diff) |
crypto: qat - use hweight for bit counting
Replace homegrown bit counting logic in adf_gen2_get_num_accels() and
adf_gen2_get_num_aes() with the functions hweight16() and hweight32(),
respectively.
Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Marco Chiappero <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions