diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/as.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/as.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/as.c b/drivers/gpu/nvgpu/common/as.c index 77f088b7..5458614e 100644 --- a/drivers/gpu/nvgpu/common/as.c +++ b/drivers/gpu/nvgpu/common/as.c | |||
@@ -23,7 +23,6 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <trace/events/gk20a.h> | 25 | #include <trace/events/gk20a.h> |
26 | #include <uapi/linux/nvgpu.h> | ||
27 | 26 | ||
28 | #include <nvgpu/kmem.h> | 27 | #include <nvgpu/kmem.h> |
29 | #include <nvgpu/vm.h> | 28 | #include <nvgpu/vm.h> |
@@ -58,7 +57,7 @@ static int gk20a_vm_alloc_share(struct gk20a_as_share *as_share, | |||
58 | struct vm_gk20a *vm; | 57 | struct vm_gk20a *vm; |
59 | char name[32]; | 58 | char name[32]; |
60 | const bool userspace_managed = | 59 | const bool userspace_managed = |
61 | (flags & NVGPU_GPU_IOCTL_ALLOC_AS_FLAGS_USERSPACE_MANAGED) != 0; | 60 | (flags & NVGPU_AS_ALLOC_USERSPACE_MANAGED) != 0; |
62 | 61 | ||
63 | nvgpu_log_fn(g, " "); | 62 | nvgpu_log_fn(g, " "); |
64 | 63 | ||