mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: Move gk20a->busy_lock to os_linux
gk20a->busy_lock is a Linux specific rw_semaphore used only by Linux code. Move it to os_linux. JIRA NVGPU-259 Change-Id: I220a8a080a5050732683b875d3c1d0539ba0f40e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1569695 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
236573e00a
commit
4f56c88feb
@@ -42,7 +42,7 @@ static void nvgpu_init_vars(struct gk20a *g)
|
||||
init_waitqueue_head(&l->sw_irq_nonstall_last_handled_wq);
|
||||
gk20a_init_gr(g);
|
||||
|
||||
init_rwsem(&g->busy_lock);
|
||||
init_rwsem(&l->busy_lock);
|
||||
init_rwsem(&g->deterministic_busy);
|
||||
|
||||
nvgpu_spinlock_init(&g->mc_enable_lock);
|
||||
|
||||
Reference in New Issue
Block a user