From b14bb0f9427cfd2e0bac91bfbfacd7e4c5ccb541 Mon Sep 17 00:00:00 2001 From: Yiannis Papadopoulos Date: Thu, 31 Jul 2025 15:00:47 -0400 Subject: [PATCH] libhsakmt: Use numa_node_size64 with long long [ROCm/ROCR-Runtime commit: ea0a3e8da4d0b7e18654f85a92b2428197683459] --- projects/rocr-runtime/libhsakmt/src/fmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/libhsakmt/src/fmm.c b/projects/rocr-runtime/libhsakmt/src/fmm.c index 84e18cd42a..97b7864ab3 100644 --- a/projects/rocr-runtime/libhsakmt/src/fmm.c +++ b/projects/rocr-runtime/libhsakmt/src/fmm.c @@ -1675,7 +1675,7 @@ static void* udmabuf_allocation(uint32_t gpu_id, uint32_t node_id, uint64_t size if (bind_mem_to_numa(numa_node_id, mem, size, mflags)) goto error_release_aperture; - node_size = numa_node_size(numa_node_id, &free_size); + node_size = numa_node_size64(numa_node_id, &free_size); pr_debug("udmabuf_allocation: numa_node_id %d, node_size %lld, free_size %lld\n", numa_node_id, node_size, free_size); /* compare free size at numa_node_id with size */