diff options
Diffstat (limited to 'userspace/include')
-rw-r--r-- | userspace/include/unit/args.h | 1 | ||||
-rw-r--r-- | userspace/include/unit/unit.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/userspace/include/unit/args.h b/userspace/include/unit/args.h index def84a29..708a1655 100644 --- a/userspace/include/unit/args.h +++ b/userspace/include/unit/args.h | |||
@@ -42,6 +42,7 @@ struct unit_fw_args { | |||
42 | bool help; | 42 | bool help; |
43 | int verbose_lvl; | 43 | int verbose_lvl; |
44 | bool no_color; | 44 | bool no_color; |
45 | int thread_count; | ||
45 | 46 | ||
46 | const char *unit_name; | 47 | const char *unit_name; |
47 | const char *unit_load_path; | 48 | const char *unit_load_path; |
diff --git a/userspace/include/unit/unit.h b/userspace/include/unit/unit.h index 2f93bab5..442a73f1 100644 --- a/userspace/include/unit/unit.h +++ b/userspace/include/unit/unit.h | |||
@@ -23,6 +23,8 @@ | |||
23 | #ifndef __UNIT_UNIT_H__ | 23 | #ifndef __UNIT_UNIT_H__ |
24 | #define __UNIT_UNIT_H__ | 24 | #define __UNIT_UNIT_H__ |
25 | 25 | ||
26 | #include <pthread.h> | ||
27 | |||
26 | struct gk20a; | 28 | struct gk20a; |
27 | 29 | ||
28 | struct unit_module; | 30 | struct unit_module; |
@@ -84,6 +86,8 @@ struct unit_module { | |||
84 | */ | 86 | */ |
85 | void *lib_handle; | 87 | void *lib_handle; |
86 | struct unit_fw *fw; | 88 | struct unit_fw *fw; |
89 | |||
90 | pthread_t thread; | ||
87 | }; | 91 | }; |
88 | 92 | ||
89 | /* | 93 | /* |