amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h>
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Aug 2015 07:27:16 +0000 (09:27 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 30 Aug 2015 09:36:58 +0000 (12:36 +0300)
The latter is a default version of <asm/mman.h> and not for driver use.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c

index c991973019d0b9eebcae91533b2264bf41c2749a..c6a1b4cc64581733a9a8218299571576e3e6957a 100644 (file)
@@ -31,7 +31,7 @@
 #include <uapi/linux/kfd_ioctl.h>
 #include <linux/time.h>
 #include <linux/mm.h>
-#include <uapi/asm-generic/mman-common.h>
+#include <linux/mman.h>
 #include <asm/processor.h>
 #include "kfd_priv.h"
 #include "kfd_device_queue_manager.h"
index 35b98757463305c9d1740542704f64cfc9db702a..2b655103ba79655b9600c5b3b8020b0b1c952f5f 100644 (file)
@@ -33,7 +33,7 @@
 #include <linux/time.h>
 #include "kfd_priv.h"
 #include <linux/mm.h>
-#include <uapi/asm-generic/mman-common.h>
+#include <linux/mman.h>
 #include <asm/processor.h>
 
 /*