diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index a028b6f3..263ca291 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/mutex.h> | 24 | #include <linux/mutex.h> |
25 | #include <uapi/linux/nvgpu.h> | 25 | #include <uapi/linux/nvgpu.h> |
26 | #include <linux/poll.h> | 26 | #include <linux/poll.h> |
27 | #include <linux/spinlock.h> | ||
27 | 28 | ||
28 | struct gk20a; | 29 | struct gk20a; |
29 | struct gr_gk20a; | 30 | struct gr_gk20a; |
@@ -162,6 +163,7 @@ struct channel_gk20a { | |||
162 | * via schedule_work */ | 163 | * via schedule_work */ |
163 | void (*update_fn)(struct channel_gk20a *, void *); | 164 | void (*update_fn)(struct channel_gk20a *, void *); |
164 | void *update_fn_data; | 165 | void *update_fn_data; |
166 | spinlock_t update_fn_lock; /* make access to the two above atomic */ | ||
165 | struct work_struct update_fn_work; | 167 | struct work_struct update_fn_work; |
166 | }; | 168 | }; |
167 | 169 | ||