diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-29 18:19:46 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-01 11:38:21 -0500 |
commit | 3ca22f894c75b9f8eb9d28945ff7a88ebf885e36 (patch) | |
tree | 0d12b735f6fd2f422388f3790a564d2cf21dc454 /drivers/gpu/nvgpu/common | |
parent | a0ccf3a8d07ebc0fdc271c7392597c9ac21f9fae (diff) |
gpu: nvgpu: Include vmalloc.h in nvgpu_mem.c
nvgpu_mem.c uses vmap(), which is defined in linux/vmalloc.h, but does not
include it. Add the missing #include.
Change-Id: I38a44083f08f91df50e372c7f1732e2ad27c6bb1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1607578
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/nvgpu_mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c b/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c index 2587d56a..2b3cb6fd 100644 --- a/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c +++ b/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c | |||
@@ -27,6 +27,8 @@ | |||
27 | #include <nvgpu/linux/dma.h> | 27 | #include <nvgpu/linux/dma.h> |
28 | #include <nvgpu/linux/vidmem.h> | 28 | #include <nvgpu/linux/vidmem.h> |
29 | 29 | ||
30 | #include <linux/vmalloc.h> | ||
31 | |||
30 | #include "os_linux.h" | 32 | #include "os_linux.h" |
31 | 33 | ||
32 | #include "gk20a/gk20a.h" | 34 | #include "gk20a/gk20a.h" |