diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-12-08 05:50:39 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-08 18:54:24 -0500 |
commit | 4544a50b7da82ee96559d65641a4fe0cb4bc5d85 (patch) | |
tree | 8464175c20b3c2778607ecb69f1f3710025f93d3 /drivers/gpu/nvgpu/include/nvgpu | |
parent | 5121bd4b6f2a41b3db045cca7246f9b1832c8648 (diff) |
gpu: nvgpu: add include path for rmos sort.h
Add rmos sort.h include path in common sort.h if __KERNEL__ is undefined
Jira NVGPU-447
Change-Id: I33f1e3a49ee43b1b69f9d678af77cb866dab412b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1614108
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/sort.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/sort.h b/drivers/gpu/nvgpu/include/nvgpu/sort.h index 51d1dcf3..0bef3593 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/sort.h +++ b/drivers/gpu/nvgpu/include/nvgpu/sort.h | |||
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | #ifdef __KERNEL__ | 25 | #ifdef __KERNEL__ |
26 | #include <linux/sort.h> | 26 | #include <linux/sort.h> |
27 | #else | ||
28 | #include <nvgpu_rmos/include/sort.h> | ||
27 | #endif | 29 | #endif |
28 | 30 | ||
29 | #endif | 31 | #endif |