diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-06-27 16:44:56 -0400 |
---|---|---|
committer | Vladislav Buzov <vbuzov@nvidia.com> | 2016-07-18 12:12:38 -0400 |
commit | 26835aa99823f8b7dc24e9efe38c00bfb5e197c0 (patch) | |
tree | 68d002cf998dccfc720d1c7b726325b1eacd300b /include | |
parent | e875b4a66c71fbd9b0a978fadfd0de6cd4a70248 (diff) |
gpu: nvgpu: remove BIT macros from header file
Jira EVLR-472
Change-Id: Ica90888a1dfd17ae1ea2c2a359805288cd648b76
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1172095
(cherry picked from commit 43d639f89154b8d7639da1c13546f0d2d1b4e101)
Reviewed-on: http://git-master/r/1177822
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 992355d9..496fda5c 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1066,12 +1066,12 @@ struct nvgpu_event_id_ctrl_args { | |||
1066 | 1066 | ||
1067 | struct nvgpu_preemption_mode_args { | 1067 | struct nvgpu_preemption_mode_args { |
1068 | /* only one should be enabled at a time */ | 1068 | /* only one should be enabled at a time */ |
1069 | #define NVGPU_GRAPHICS_PREEMPTION_MODE_WFI BIT(0) | 1069 | #define NVGPU_GRAPHICS_PREEMPTION_MODE_WFI (1 << 0) |
1070 | __u32 graphics_preempt_mode; /* in */ | 1070 | __u32 graphics_preempt_mode; /* in */ |
1071 | 1071 | ||
1072 | /* only one should be enabled at a time */ | 1072 | /* only one should be enabled at a time */ |
1073 | #define NVGPU_COMPUTE_PREEMPTION_MODE_WFI BIT(0) | 1073 | #define NVGPU_COMPUTE_PREEMPTION_MODE_WFI (1 << 0) |
1074 | #define NVGPU_COMPUTE_PREEMPTION_MODE_CTA BIT(1) | 1074 | #define NVGPU_COMPUTE_PREEMPTION_MODE_CTA (1 << 1) |
1075 | __u32 compute_preempt_mode; /* in */ | 1075 | __u32 compute_preempt_mode; /* in */ |
1076 | }; | 1076 | }; |
1077 | 1077 | ||