summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/nvgpu_mem.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/nvgpu_mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c b/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c
index b282d050..31eb7190 100644
--- a/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c
+++ b/drivers/gpu/nvgpu/common/linux/nvgpu_mem.c
@@ -16,6 +16,7 @@
16 16
17#include <nvgpu/nvgpu_mem.h> 17#include <nvgpu/nvgpu_mem.h>
18#include <nvgpu/page_allocator.h> 18#include <nvgpu/page_allocator.h>
19#include <nvgpu/log.h>
19 20
20#include "gk20a/gk20a.h" 21#include "gk20a/gk20a.h"
21#include "gk20a/mm_gk20a.h" 22#include "gk20a/mm_gk20a.h"
@@ -51,7 +52,7 @@ int nvgpu_mem_begin(struct gk20a *g, struct nvgpu_mem *mem)
51 return 0; 52 return 0;
52 53
53 if (WARN_ON(mem->cpu_va)) { 54 if (WARN_ON(mem->cpu_va)) {
54 gk20a_warn(dev_from_gk20a(g), "nested %s", __func__); 55 nvgpu_warn(g, "nested");
55 return -EBUSY; 56 return -EBUSY;
56 } 57 }
57 58