summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
index 30bfd5a2..7d359ff4 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c
@@ -2134,7 +2134,7 @@ static int update_gmmu_level_locked(struct vm_gk20a *vm,
2134 int num_entries = 2134 int num_entries =
2135 1 << 2135 1 <<
2136 (l->hi_bit[pgsz_idx] 2136 (l->hi_bit[pgsz_idx]
2137 - l->lo_bit[pgsz_idx]); 2137 - l->lo_bit[pgsz_idx] + 1);
2138 pte->entries = 2138 pte->entries =
2139 kzalloc(sizeof(struct gk20a_mm_entry) * 2139 kzalloc(sizeof(struct gk20a_mm_entry) *
2140 num_entries, GFP_KERNEL); 2140 num_entries, GFP_KERNEL);