mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: init: make quiesce clean function non-static
Make nvgpu_sw_quiesce_remove_support() non-static so that it can be called from the init unit test and cleanup the running thread. Bug 2732985 Change-Id: I01afa9c21967b39f6f9f129590189882bbc963b4 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2224306 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
e8d5ed7694
commit
c0a7556cb3
@@ -142,7 +142,7 @@ static int nvgpu_sw_quiesce_init_support(struct gk20a *g)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void nvgpu_sw_quiesce_remove_support(struct gk20a *g)
|
||||
void nvgpu_sw_quiesce_remove_support(struct gk20a *g)
|
||||
{
|
||||
#ifndef CONFIG_NVGPU_RECOVERY
|
||||
if (g->sw_quiesce_init_done) {
|
||||
|
||||
Reference in New Issue
Block a user