diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fence_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c index 51363059..8ad24c44 100644 --- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c | |||
@@ -51,7 +51,7 @@ static void gk20a_fence_free(struct kref *ref) | |||
51 | 51 | ||
52 | if (f->allocator) { | 52 | if (f->allocator) { |
53 | if (nvgpu_alloc_initialized(f->allocator)) | 53 | if (nvgpu_alloc_initialized(f->allocator)) |
54 | nvgpu_free(f->allocator, (size_t)f); | 54 | nvgpu_free(f->allocator, (u64)(uintptr_t)f); |
55 | } else | 55 | } else |
56 | nvgpu_kfree(g, f); | 56 | nvgpu_kfree(g, f); |
57 | } | 57 | } |