summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/thread.h
diff options
context:
space:
mode:
authorSourab Gupta <sourabg@nvidia.com>2017-08-29 06:54:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-31 16:15:08 -0400
commit4995389f6806433c65549250b5ab953611febc40 (patch)
tree32e23aaf0a6a2af63e258b83e839081841160c5f /drivers/gpu/nvgpu/include/nvgpu/thread.h
parent03eb8687063339f40f68f9611c2351d2528a9d94 (diff)
gpu: nvgpu: include rmos headers in common headers
Currently nvgpu common header files include the Linux specific headers protected by __KERNEL__ check. The patch includes the rmos specific headers when the common headers (and common nvgpu files, by extension) are compiled under QNX, so that QNX specific data structures / type definitions can be retrieved. Change-Id: Icb03fdc90f6ef4cff8666a6fd0f0f06b5ef62c97 Signed-off-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1547658 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/thread.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/thread.h b/drivers/gpu/nvgpu/include/nvgpu/thread.h
index 1e946119..0404c6cd 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/thread.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/thread.h
@@ -19,6 +19,8 @@
19 19
20#ifdef __KERNEL__ 20#ifdef __KERNEL__
21#include <nvgpu/linux/thread.h> 21#include <nvgpu/linux/thread.h>
22#else
23#include <nvgpu_rmos/include/thread.h>
22#endif 24#endif
23 25
24/** 26/**