diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 17:33:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-13 11:55:55 -0400 |
commit | ea24da728faf381a0204c424ee055a0572774e76 (patch) | |
tree | ef7c17d99f4c9e6c4e3c69853ee9d7a19b3d2480 /drivers/gpu/nvgpu/gp106 | |
parent | d2e36374b8ffeb2ff63c4d1eea75c0479872a710 (diff) |
gpu: nvgpu: Add wrapper nvgpu/bsearch.h
Add wrapper header file nvgpu/bsearch.h. It #includes <linux/bsearch.h>
on Linux.
JIRA NVGPU-13
Change-Id: I5893f91f2e1bcda99c68f94d9298d87ad4591c8f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1461543
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/regops_gp106.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/regops_gp106.c b/drivers/gpu/nvgpu/gp106/regops_gp106.c index 9de1d3a3..0d90977d 100644 --- a/drivers/gpu/nvgpu/gp106/regops_gp106.c +++ b/drivers/gpu/nvgpu/gp106/regops_gp106.c | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/err.h> | 19 | #include <linux/err.h> |
20 | #include <linux/bsearch.h> | ||
21 | #include <uapi/linux/nvgpu.h> | 20 | #include <uapi/linux/nvgpu.h> |
22 | 21 | ||
23 | #include "gk20a/gk20a.h" | 22 | #include "gk20a/gk20a.h" |
@@ -25,6 +24,8 @@ | |||
25 | #include "gk20a/regops_gk20a.h" | 24 | #include "gk20a/regops_gk20a.h" |
26 | #include "regops_gp106.h" | 25 | #include "regops_gp106.h" |
27 | 26 | ||
27 | #include <nvgpu/bsearch.h> | ||
28 | |||
28 | static const struct regop_offset_range gp106_global_whitelist_ranges[] = { | 29 | static const struct regop_offset_range gp106_global_whitelist_ranges[] = { |
29 | { 0x000004f0, 1}, | 30 | { 0x000004f0, 1}, |
30 | { 0x00001a00, 3}, | 31 | { 0x00001a00, 3}, |