From f48a806cf02fdb43542203ed27009ac05d8831e4 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Mon, 27 Jun 2016 16:59:54 -0700 Subject: gpu: nvgpu: remove BIT macros from header file Jira EVLR-472 Change-Id: I791f4647330bfea931da7ea6ffed95b8334b4817 Signed-off-by: Thomas Fleury Reviewed-on: http://git-master/r/1172097 (cherry picked from commit 5b41dea91208bba53ba87be1e732c85d177a8ad3) Reviewed-on: http://git-master/r/1177825 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: Vladislav Buzov --- include/uapi/linux/nvgpu-t18x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/uapi/linux/nvgpu-t18x.h') diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h index 24c38f80..777f1553 100644 --- a/include/uapi/linux/nvgpu-t18x.h +++ b/include/uapi/linux/nvgpu-t18x.h @@ -46,9 +46,9 @@ #define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2) /* Flags in nvgpu_preemption_mode_args.graphics_preempt_flags */ -#define NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP BIT(1) +#define NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP (1 << 1) /* Flags in nvgpu_preemption_mode_args.compute_preempt_flags */ -#define NVGPU_COMPUTE_PREEMPTION_MODE_CILP BIT(2) +#define NVGPU_COMPUTE_PREEMPTION_MODE_CILP (1 << 2) /* SM LRF ECC is enabled */ #define NVGPU_GPU_FLAGS_ECC_ENABLED_SM_LRF (1ULL << 60) -- cgit v1.2.2