summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-25 20:34:11 +0100
committerJason Gunthorpe <jgg@nvidia.com>2021-11-29 19:33:55 +0100
commite02d9cc2f8581ff39d13e0c01c98131bbac70206 (patch)
treea26cbcd6946443747e0b231f4a21c1f2571f95f6 /kernel/smp.c
parentRDMA/ocrdma: Use bitmap_zalloc() when applicable (diff)
downloadlinux-e02d9cc2f8581ff39d13e0c01c98131bbac70206.tar.xz
linux-e02d9cc2f8581ff39d13e0c01c98131bbac70206.zip
RDMA/ocrdma: Simplify code in 'ocrdma_search_mmap()'
'pd_bitmap' does not need to be const. Without it, it is possible to use this variable when calling '__set_bit()'. This is less verbose and more logical. Link: https://lore.kernel.org/r/ec5cab9611ba062adea4cf8c98a63406ed510a71.1637868728.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions