summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-02-02 04:46:33 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-02-22 07:15:08 -0500
commit8cdb91c527ce19ce67ddc0e231e8c93a552a93a4 (patch)
tree38e9cb1adb5db1d89dede1354cbe26a47e3590cb /drivers/gpu/nvgpu/ctrl
parent8ee3aa4b3175d8d27e57a0f5d5e2cdf3d78a4a58 (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')
0 files changed, 0 insertions, 0 deletions