diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-10-07 03:29:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-14 11:12:08 -0400 |
commit | 6760e3c33125bfca0b9b37e802a80452159863a9 (patch) | |
tree | a9f8c6491edde4faf6a193b1ff0ebb3955430017 /.gitignore | |
parent | 94efd53ed1c8202b4b46af41ec8ab580774f4974 (diff) |
gpu: nvgpu: mark vidmem.cleared volatile
The boolean flag mm_gk20a.vidmem.cleared is shared across threads, so
mark it volatile to prevent compiler from wrongly optimizing accesses to
it.
Jira DNVGPU-84
Change-Id: I1fe66b26966685d3f74ed95ba53b198f810231b9
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1233016
(cherry picked from commit dc6c9db56ea8a5f55f28f97fdfc3c1ac60d8b195)
Reviewed-on: http://git-master/r/1235317
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions