From 9f5a464d289f22302c81409b08f5615da89a4502 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Fri, 10 Aug 2018 16:14:21 -0700 Subject: gpu: nvgpu: Use BIT64() for NVGPU_L3_ALLOC_BIT This bit is in the upper half a 64bit field (bit 36). As such the BIT64() macro must now be used. Change-Id: Id91ee982ca91be4b6a4f61ded2cf1bc98b3519d1 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1797198 Reviewed-by: Terje Bergstrom GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/mm_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gv11b/mm_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/mm_gv11b.c b/drivers/gpu/nvgpu/gv11b/mm_gv11b.c index 39c79bba..b8272a92 100644 --- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.c @@ -39,7 +39,7 @@ #include -#define NVGPU_L3_ALLOC_BIT BIT(36) +#define NVGPU_L3_ALLOC_BIT BIT64(36) bool gv11b_mm_is_bar1_supported(struct gk20a *g) { -- cgit v1.2.2