gpu: nvgpu: compile out bsearch.c from safety build

- We are compiling “os/posix/bsearch.c” as part of safety-build,
  but we are not using bsearch.c file API from any safety file.

JIRA NVGPU-6172

Change-Id: Id0ebf00287f7564e629c28190f90edd68288dd70
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2424541
(cherry picked from commit ce822b1c8766faf5642079f0d5dde347ac2c5087)
Signed-off-by: srajum <srajum@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2447418
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Seeta Rama Raju
2020-10-07 12:42:20 +05:30
committed by mobile promotions
parent 9b81c28dd3
commit a03da4a077
13 changed files with 9 additions and 258 deletions

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, NVIDIA CORPORATION. All Rights Reserved.
# Copyright (c) 2020-2021, NVIDIA CORPORATION. All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -288,9 +288,6 @@ test_poweron_branches.init_poweron_branches=2
test_quiesce.init_quiesce=2
test_setup_env.init_setup_env=0
[interface_bsearch]
test_bsearch.test_bsearch=0
[interface_kref]
test_kref_get.kref_get=0
test_kref_get_unless.kref_get_unless=0