diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-19 15:25:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-20 14:35:23 -0400 |
commit | 2525dc37967077554520f20c95c0a25080e3b872 (patch) | |
tree | 378f36584f442ba7342e4b20b23d182acdfeb337 /drivers/gpu/nvgpu | |
parent | 502169c394a38ce24b637a190b6bbb8c0d8e6d5f (diff) |
gpu: nvgpu: Delete obsolete WRITE_ONCE macro
Delete a version of WRITE_ONCE() that gk20a.h defines only for
kernels older than 3.18. We don't support kernels below 4.4.
JIRA NVGPU-38
Change-Id: I0af50936523fde9929c21eea0547b91dac4a0081
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505175
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 860f4d38..843a9e91 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -76,11 +76,6 @@ struct nvgpu_cpu_time_correlation_sample; | |||
76 | #endif | 76 | #endif |
77 | #include "ecc_gk20a.h" | 77 | #include "ecc_gk20a.h" |
78 | 78 | ||
79 | #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) | ||
80 | #define WRITE_ONCE(x, val) \ | ||
81 | x = val | ||
82 | #endif | ||
83 | |||
84 | struct page_alloc_chunk; | 79 | struct page_alloc_chunk; |
85 | 80 | ||
86 | /* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds. | 81 | /* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds. |