summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-04-28 15:09:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-02 19:05:52 -0400
commitef7908a455f53d4644131aa8d568282197943935 (patch)
tree4fb268bff83c083ff5e6131601a373ffca7dcbb7 /drivers
parent2e131a1e10a6e62fe6861f2893050e6ea2cf5239 (diff)
gpu: nvgpu: Add bitmap.h to nvgpu's bitops.h
In the Linux kernel many bitmap operations are included in bitmap.h and not in bitops.h. In nvgpu it seems we assume that these two sets of functions are contained in the same header. This patch ensures then when including bitops.h we get both bitmap declarations and bit ops declarations. Change-Id: I9fea75d6c920e1a2992922f927f2d91bbdbdedd3 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1472364 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/bitops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/bitops.h b/drivers/gpu/nvgpu/include/nvgpu/bitops.h
index 0cd297b6..8b5cff0a 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/bitops.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/bitops.h
@@ -15,6 +15,7 @@
15 15
16#ifdef __KERNEL__ 16#ifdef __KERNEL__
17#include <linux/bitops.h> 17#include <linux/bitops.h>
18#include <linux/bitmap.h>
18#endif 19#endif
19 20
20#endif 21#endif