From a6fd69993189436873bd5e6008a6a7433a3afe1d Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 18 Apr 2017 18:16:58 +0530 Subject: gpu: nvgpu: Add wrapper nvgpu/log2.h Add wrapper header file nvgpu/log2.h. It #includes in Linux. JIRA NVGPU-13 Change-Id: Ie434e62f7ef2dce7692b1c2c12b4ad6453f1534a Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1464719 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/ioctl_as.c | 2 ++ drivers/gpu/nvgpu/common/mm/buddy_allocator.c | 1 + drivers/gpu/nvgpu/common/mm/page_allocator.c | 1 + 3 files changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/common') diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_as.c b/drivers/gpu/nvgpu/common/linux/ioctl_as.c index bedaea3d..d9316c7f 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_as.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_as.c @@ -16,6 +16,8 @@ #include #include +#include + #include #include diff --git a/drivers/gpu/nvgpu/common/mm/buddy_allocator.c b/drivers/gpu/nvgpu/common/mm/buddy_allocator.c index 59227e4e..36095710 100644 --- a/drivers/gpu/nvgpu/common/mm/buddy_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/buddy_allocator.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "gk20a/mm_gk20a.h" #include "gk20a/platform_gk20a.h" diff --git a/drivers/gpu/nvgpu/common/mm/page_allocator.c b/drivers/gpu/nvgpu/common/mm/page_allocator.c index 11d4ca73..6fbdbedd 100644 --- a/drivers/gpu/nvgpu/common/mm/page_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/page_allocator.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "buddy_allocator_priv.h" -- cgit v1.2.2