diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/vm.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/vm.c b/drivers/gpu/nvgpu/os/linux/vm.c index 9cd17981..a1c19a3a 100644 --- a/drivers/gpu/nvgpu/os/linux/vm.c +++ b/drivers/gpu/nvgpu/os/linux/vm.c | |||
@@ -269,6 +269,7 @@ int nvgpu_vm_map_linux(struct vm_gk20a *vm, | |||
269 | else | 269 | else |
270 | // So we can always safely call list_del() | 270 | // So we can always safely call list_del() |
271 | INIT_LIST_HEAD(&mapped_buffer->os_priv.nvmap_priv_entry); | 271 | INIT_LIST_HEAD(&mapped_buffer->os_priv.nvmap_priv_entry); |
272 | mapped_buffer->os_priv.swap_sector = 0; | ||
272 | 273 | ||
273 | *gpu_va = mapped_buffer->addr; | 274 | *gpu_va = mapped_buffer->addr; |
274 | return 0; | 275 | return 0; |