diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/semaphore.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/semaphore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h index a7bd79cb..85175069 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h +++ b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h | |||
@@ -72,7 +72,7 @@ struct nvgpu_semaphore { | |||
72 | struct nvgpu_semaphore_loc location; | 72 | struct nvgpu_semaphore_loc location; |
73 | 73 | ||
74 | nvgpu_atomic_t value; | 74 | nvgpu_atomic_t value; |
75 | int incremented; | 75 | bool incremented; |
76 | 76 | ||
77 | struct nvgpu_ref ref; | 77 | struct nvgpu_ref ref; |
78 | }; | 78 | }; |
@@ -99,7 +99,7 @@ struct nvgpu_semaphore_pool { | |||
99 | */ | 99 | */ |
100 | struct nvgpu_mem rw_mem; | 100 | struct nvgpu_mem rw_mem; |
101 | 101 | ||
102 | int mapped; | 102 | bool mapped; |
103 | 103 | ||
104 | /* | 104 | /* |
105 | * Sometimes a channel can be released before other channels are | 105 | * Sometimes a channel can be released before other channels are |