Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
drm/amdkfd: Use bitmap_zalloc() when applicable
'doorbell_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>
- Loading branch information