diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/os_sched.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/os_sched.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/os_sched.c b/drivers/gpu/nvgpu/os/linux/os_sched.c index 586b35eb..9a25da18 100644 --- a/drivers/gpu/nvgpu/os/linux/os_sched.c +++ b/drivers/gpu/nvgpu/os/linux/os_sched.c | |||
@@ -24,3 +24,9 @@ int nvgpu_current_pid(struct gk20a *g) | |||
24 | { | 24 | { |
25 | return current->tgid; | 25 | return current->tgid; |
26 | } | 26 | } |
27 | |||
28 | void __nvgpu_print_current(struct gk20a *g, const char *func_name, int line, | ||
29 | void *ctx, enum nvgpu_log_type type) | ||
30 | { | ||
31 | __nvgpu_log_msg(g, func_name, line, type, current->comm); | ||
32 | } | ||