aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMichal Kubecek <[email protected]>2019-05-20 11:19:02 +0000
committerJason Gunthorpe <[email protected]>2019-05-29 16:03:21 +0000
commit37eb86c4507abcb14fc346863e83aa8751aa4675 (patch)
treea78d5164545ca1afe026ca5f76bae6e188072c77 /fs/proc/array.c
parentIB/hfi1: Validate page aligned for a given virtual address (diff)
downloadkernel-37eb86c4507abcb14fc346863e83aa8751aa4675.tar.gz
kernel-37eb86c4507abcb14fc346863e83aa8751aa4675.zip
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 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions