aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMichal Kubecek <[email protected]>2019-05-20 13:19:02 +0200
committerJason Gunthorpe <[email protected]>2019-05-29 13:03:21 -0300
commit37eb86c4507abcb14fc346863e83aa8751aa4675 (patch)
treea78d5164545ca1afe026ca5f76bae6e188072c77 /tools/perf/scripts/python/bin/stackcollapse-record
parent97736f36dbebf2cda2799db3b54717ba5b388255 (diff)
mlx5: avoid 64-bit division
Commit 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type") breaks i386 build by introducing three 64-bit divisions. As the divisor is MLX5_SW_ICM_BLOCK_SIZE() which is always a power of 2, we can replace the division with bit operations. Fixes: 25c13324d03d ("IB/mlx5: Add steering SW ICM device memory type") Signed-off-by: Michal Kubecek <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions