diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 3b888559..ad9ecdfa 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4752,11 +4752,11 @@ static int gr_gk20a_init_access_map(struct gk20a *g) | |||
4752 | { | 4752 | { |
4753 | struct gr_gk20a *gr = &g->gr; | 4753 | struct gr_gk20a *gr = &g->gr; |
4754 | struct nvgpu_mem *mem = &gr->global_ctx_buffer[PRIV_ACCESS_MAP].mem; | 4754 | struct nvgpu_mem *mem = &gr->global_ctx_buffer[PRIV_ACCESS_MAP].mem; |
4755 | u32 w, nr_pages = | 4755 | u32 nr_pages = |
4756 | DIV_ROUND_UP(gr->ctx_vars.priv_access_map_size, | 4756 | DIV_ROUND_UP(gr->ctx_vars.priv_access_map_size, |
4757 | PAGE_SIZE); | 4757 | PAGE_SIZE); |
4758 | u32 *whitelist = NULL; | 4758 | u32 *whitelist = NULL; |
4759 | unsigned int num_entries = 0; | 4759 | int w, num_entries = 0; |
4760 | 4760 | ||
4761 | if (nvgpu_mem_begin(g, mem)) { | 4761 | if (nvgpu_mem_begin(g, mem)) { |
4762 | nvgpu_err(g, | 4762 | nvgpu_err(g, |