summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/mm/lockless_allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
index 51e26208..234ae4a3 100644
--- a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
@@ -169,7 +169,7 @@ int nvgpu_lockless_allocator_init(struct gk20a *g, struct nvgpu_allocator *__a,
169 if (err) 169 if (err)
170 goto fail; 170 goto fail;
171 171
172 a->next = vzalloc(sizeof(*a->next) * count); 172 a->next = nvgpu_vzalloc(g, sizeof(*a->next) * count);
173 if (!a->next) { 173 if (!a->next) {
174 err = -ENOMEM; 174 err = -ENOMEM;
175 goto fail; 175 goto fail;