summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-10-24 20:40:23 +0300
committerChristoph Hellwig <hch@lst.de>2021-10-27 09:20:09 +0300
commit9fbd8dc19aa57ec8fe92606043199919527cd9be (patch)
tree0be05b49287ea696ecbb850bfc19d2036f15a1cf /arch/sparc
parent7d6db80b7d264d6af9dc21baafe59f93cc4607c5 (diff)
downloadlinux-9fbd8dc19aa57ec8fe92606043199919527cd9be.tar.xz
dma-mapping: use 'bitmap_zalloc()' when applicable
'dma_mem->bitmap' is a bitmap. So use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid some open-coded arithmetic in allocator arguments. Also change the corresponding 'kfree()' into 'bitmap_free()' to keep consistency. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions