diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/linux/thread.h b/drivers/gpu/nvgpu/include/nvgpu/linux/thread.h index 13f29515..1355319c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/linux/thread.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/thread.h | |||
@@ -21,6 +21,9 @@ struct task_struct; | |||
21 | 21 | ||
22 | struct nvgpu_thread { | 22 | struct nvgpu_thread { |
23 | struct task_struct *task; | 23 | struct task_struct *task; |
24 | bool running; | ||
25 | int (*fn)(void *); | ||
26 | void *data; | ||
24 | }; | 27 | }; |
25 | 28 | ||
26 | #endif /* __NVGPU_THREAD_LINUX_H__ */ | 29 | #endif /* __NVGPU_THREAD_LINUX_H__ */ |