diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-02-02 04:46:33 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-22 07:15:08 -0500 |
commit | 8cdb91c527ce19ce67ddc0e231e8c93a552a93a4 (patch) | |
tree | 38e9cb1adb5db1d89dede1354cbe26a47e3590cb /drivers/gpu/nvgpu/ctrl/ctrltherm.h | |
parent | 8ee3aa4b3175d8d27e57a0f5d5e2cdf3d78a4a58 (diff) |
gpu: nvgpu: remove use of DEFINE_MUTEX()
API DEFINE_MUTEX() is defined in Linux and might
not be available in other OSs.
Hence remove its usage from nvgpu
Declare and explicitly initialize below mutexes
for both nvgpu and vgpu
g->mm.priv_lock
g->mm.tlb_lock
Jira NVGPU-13
Change-Id: If72885a6da0227a1552303206172f1f2b751471d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1298042
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrltherm.h')
0 files changed, 0 insertions, 0 deletions