diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/posix/nvgpu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/posix/nvgpu.c b/drivers/gpu/nvgpu/common/posix/nvgpu.c index 6f2a5fe9..a275f2de 100644 --- a/drivers/gpu/nvgpu/common/posix/nvgpu.c +++ b/drivers/gpu/nvgpu/common/posix/nvgpu.c | |||
@@ -67,6 +67,13 @@ int nvgpu_current_tid(struct gk20a *g) | |||
67 | return (int)pthread_self(); | 67 | return (int)pthread_self(); |
68 | } | 68 | } |
69 | 69 | ||
70 | void __nvgpu_print_current(struct gk20a *g, const char *func_name, int line, | ||
71 | void *ctx, enum nvgpu_log_type type) | ||
72 | { | ||
73 | __nvgpu_log_msg(g, func_name, line, type, | ||
74 | "Current process: (nvgpu userspace)"); | ||
75 | } | ||
76 | |||
70 | /* | 77 | /* |
71 | * Somewhat meaningless in userspace... | 78 | * Somewhat meaningless in userspace... |
72 | */ | 79 | */ |