diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2017-08-29 06:54:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-31 16:15:08 -0400 |
commit | 4995389f6806433c65549250b5ab953611febc40 (patch) | |
tree | 32e23aaf0a6a2af63e258b83e839081841160c5f /drivers/gpu/nvgpu/include/nvgpu/bitops.h | |
parent | 03eb8687063339f40f68f9611c2351d2528a9d94 (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/bitops.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/bitops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/bitops.h b/drivers/gpu/nvgpu/include/nvgpu/bitops.h index 8b5cff0a..4e78e8b2 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/bitops.h +++ b/drivers/gpu/nvgpu/include/nvgpu/bitops.h | |||
@@ -16,6 +16,8 @@ | |||
16 | #ifdef __KERNEL__ | 16 | #ifdef __KERNEL__ |
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/bitmap.h> | 18 | #include <linux/bitmap.h> |
19 | #else | ||
20 | #include <nvgpu_rmos/include/bitops.h> | ||
19 | #endif | 21 | #endif |
20 | 22 | ||
21 | #endif | 23 | #endif |