summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-30 16:29:46 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-04 19:57:08 -0400
commit335b3fa2fe89de3ae37d01a8e9605dc74554f777 (patch)
treea8aacc9507f3b25c7231f7f11c3bea9695c370ac /drivers/gpu/nvgpu/common
parentc86e940e1169be32e92297f6dfb07d0c2cade135 (diff)
gpu: nvgpu: Remove vmalloc.h and slab.h usage
Remove all usage of vmalloc.h and slab.h outside of the Linux specific kmem API implementation code. Bug 1799159 Bug 1823380 Change-Id: I5b2a91bd1057b272efeaddc24902f6133b35024f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1331703 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/mm/bitmap_allocator.c1
-rw-r--r--drivers/gpu/nvgpu/common/mm/buddy_allocator.c1
-rw-r--r--drivers/gpu/nvgpu/common/mm/lockless_allocator.c2
-rw-r--r--drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c1
-rw-r--r--drivers/gpu/nvgpu/common/mm/page_allocator.c1
-rw-r--r--drivers/gpu/nvgpu/common/semaphore.c1
6 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/bitmap_allocator.c b/drivers/gpu/nvgpu/common/mm/bitmap_allocator.c
index 6e3bad6f..b32da945 100644
--- a/drivers/gpu/nvgpu/common/mm/bitmap_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/bitmap_allocator.c
@@ -15,7 +15,6 @@
15 */ 15 */
16 16
17#include <linux/kernel.h> 17#include <linux/kernel.h>
18#include <linux/slab.h>
19#include <linux/bitops.h> 18#include <linux/bitops.h>
20 19
21#include <nvgpu/allocator.h> 20#include <nvgpu/allocator.h>
diff --git a/drivers/gpu/nvgpu/common/mm/buddy_allocator.c b/drivers/gpu/nvgpu/common/mm/buddy_allocator.c
index 246be974..06cd7911 100644
--- a/drivers/gpu/nvgpu/common/mm/buddy_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/buddy_allocator.c
@@ -15,7 +15,6 @@
15 */ 15 */
16 16
17#include <linux/kernel.h> 17#include <linux/kernel.h>
18#include <linux/slab.h>
19 18
20#include <nvgpu/allocator.h> 19#include <nvgpu/allocator.h>
21#include <nvgpu/kmem.h> 20#include <nvgpu/kmem.h>
diff --git a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
index 19368339..ed9dadd3 100644
--- a/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/lockless_allocator.c
@@ -15,8 +15,6 @@
15 */ 15 */
16 16
17#include <linux/kernel.h> 17#include <linux/kernel.h>
18#include <linux/slab.h>
19#include <linux/vmalloc.h>
20#include <linux/atomic.h> 18#include <linux/atomic.h>
21 19
22#include <nvgpu/allocator.h> 20#include <nvgpu/allocator.h>
diff --git a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
index 02b7b48d..b8e713eb 100644
--- a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
@@ -17,7 +17,6 @@
17 */ 17 */
18 18
19#include <linux/kernel.h> 19#include <linux/kernel.h>
20#include <linux/slab.h>
21 20
22#include <nvgpu/allocator.h> 21#include <nvgpu/allocator.h>
23 22
diff --git a/drivers/gpu/nvgpu/common/mm/page_allocator.c b/drivers/gpu/nvgpu/common/mm/page_allocator.c
index d74db3e3..1e5fae3d 100644
--- a/drivers/gpu/nvgpu/common/mm/page_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/page_allocator.c
@@ -15,7 +15,6 @@
15 */ 15 */
16 16
17#include <linux/kernel.h> 17#include <linux/kernel.h>
18#include <linux/slab.h>
19#include <linux/bitops.h> 18#include <linux/bitops.h>
20#include <linux/mm.h> 19#include <linux/mm.h>
21 20
diff --git a/drivers/gpu/nvgpu/common/semaphore.c b/drivers/gpu/nvgpu/common/semaphore.c
index 5d526e64..6fb6c27e 100644
--- a/drivers/gpu/nvgpu/common/semaphore.c
+++ b/drivers/gpu/nvgpu/common/semaphore.c
@@ -17,7 +17,6 @@
17 17
18#include <linux/dma-mapping.h> 18#include <linux/dma-mapping.h>
19#include <linux/highmem.h> 19#include <linux/highmem.h>
20#include <linux/slab.h>
21 20
22#include <nvgpu/semaphore.h> 21#include <nvgpu/semaphore.h>
23#include <nvgpu/kmem.h> 22#include <nvgpu/kmem.h>