diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-04-18 08:46:58 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-20 14:35:14 -0400 |
commit | a6fd69993189436873bd5e6008a6a7433a3afe1d (patch) | |
tree | f5d1aa86af1aabae7de8b9858e41d68e8dc11869 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |
parent | cb0492c7c82b29c3279973ed54c7b45333b579bb (diff) |
gpu: nvgpu: Add wrapper nvgpu/log2.h
Add wrapper header file nvgpu/log2.h.
It #includes <linux/log2.h> in Linux.
JIRA NVGPU-13
Change-Id: Ie434e62f7ef2dce7692b1c2c12b4ad6453f1534a
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1464719
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index e16b77b7..1db52c85 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/log2.h> | ||
20 | #include <linux/scatterlist.h> | 19 | #include <linux/scatterlist.h> |
21 | #include <linux/dma-buf.h> | 20 | #include <linux/dma-buf.h> |
22 | #include <linux/dma-mapping.h> | 21 | #include <linux/dma-mapping.h> |
@@ -37,6 +36,7 @@ | |||
37 | #include <nvgpu/page_allocator.h> | 36 | #include <nvgpu/page_allocator.h> |
38 | #include <nvgpu/log.h> | 37 | #include <nvgpu/log.h> |
39 | #include <nvgpu/bug.h> | 38 | #include <nvgpu/bug.h> |
39 | #include <nvgpu/log2.h> | ||
40 | 40 | ||
41 | #include "gk20a.h" | 41 | #include "gk20a.h" |
42 | #include "mm_gk20a.h" | 42 | #include "mm_gk20a.h" |