treewide: Use align64 instead of ALIGN for 64 bit value parameter

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23932>
This commit is contained in:
Yonggang Luo
2023-06-29 11:34:46 +08:00
committed by Marge Bot
parent 32d2f70742
commit 8c847eb2de
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ util_vma_heap_alloc(struct util_vma_heap *heap,
* alignment.
*/
if (heap->nospan_shift) {
assert(ALIGN(BITFIELD64_BIT(heap->nospan_shift), alignment) ==
assert(align64(BITFIELD64_BIT(heap->nospan_shift), alignment) ==
BITFIELD64_BIT(heap->nospan_shift));
}