diff options
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/posix/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/posix/bitops.h b/drivers/gpu/nvgpu/include/nvgpu/posix/bitops.h index bfc6fef1..94618d14 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/posix/bitops.h +++ b/drivers/gpu/nvgpu/include/nvgpu/posix/bitops.h | |||
@@ -33,7 +33,7 @@ | |||
33 | #define BITS_TO_LONGS(bits) \ | 33 | #define BITS_TO_LONGS(bits) \ |
34 | (bits + (BITS_PER_LONG - 1) / BITS_PER_LONG) | 34 | (bits + (BITS_PER_LONG - 1) / BITS_PER_LONG) |
35 | 35 | ||
36 | #define BIT(i) (1UL << (i)) | 36 | #define BIT(i) (1ULL << (i)) |
37 | 37 | ||
38 | #define GENMASK(h, l) \ | 38 | #define GENMASK(h, l) \ |
39 | (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) | 39 | (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) |