diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 7fac811e..94dc0b6f 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -539,7 +539,7 @@ static inline phys_addr_t gk20a_mem_phys(struct nvgpu_mem *mem) | |||
539 | { | 539 | { |
540 | /* FIXME: the sgt/sgl may get null if this is accessed e.g. in an isr | 540 | /* FIXME: the sgt/sgl may get null if this is accessed e.g. in an isr |
541 | * during channel deletion - attempt to fix at least null derefs */ | 541 | * during channel deletion - attempt to fix at least null derefs */ |
542 | struct sg_table *sgt = mem->sgt; | 542 | struct sg_table *sgt = mem->priv.sgt; |
543 | 543 | ||
544 | if (sgt) { | 544 | if (sgt) { |
545 | struct scatterlist *sgl = sgt->sgl; | 545 | struct scatterlist *sgl = sgt->sgl; |