diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/types.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/types.h b/drivers/gpu/nvgpu/include/nvgpu/types.h index dfa95557..8320721b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/types.h +++ b/drivers/gpu/nvgpu/include/nvgpu/types.h | |||
@@ -55,6 +55,8 @@ | |||
55 | * overflows the 32 bit data type. So in this case we need an explicit cast to | 55 | * overflows the 32 bit data type. So in this case we need an explicit cast to |
56 | * 64 bits in order to prevent undefined behavior. | 56 | * 64 bits in order to prevent undefined behavior. |
57 | */ | 57 | */ |
58 | #define U8(x) ((u8)(x)) | ||
59 | #define U16(x) ((u16)(x)) | ||
58 | #define U32(x) ((u32)(x)) | 60 | #define U32(x) ((u32)(x)) |
59 | #define U64(x) ((u64)(x)) | 61 | #define U64(x) ((u64)(x)) |
60 | 62 | ||