diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/os_sched.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/os_sched.h b/drivers/gpu/nvgpu/include/nvgpu/os_sched.h index 61cee4ad..97dc9a57 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/os_sched.h +++ b/drivers/gpu/nvgpu/include/nvgpu/os_sched.h | |||
@@ -26,6 +26,12 @@ | |||
26 | struct gk20a; | 26 | struct gk20a; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * nvgpu_current_tid - Query the id of current thread | ||
30 | * | ||
31 | */ | ||
32 | int nvgpu_current_tid(struct gk20a *g); | ||
33 | |||
34 | /** | ||
29 | * nvgpu_current_pid - Query the id of current process | 35 | * nvgpu_current_pid - Query the id of current process |
30 | * | 36 | * |
31 | */ | 37 | */ |