summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-08-28 09:27:16 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2015-08-30 12:36:58 +0300
commit2497ee721524be80a7690dac0956d04c0ee954f0 (patch)
treec387dd5df6319b4c64fa003aff38ad1342d15203 /drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
parent92cffd56b21c825579f3b37bc7803e4c37073076 (diff)
downloadlinux-stable-2497ee721524be80a7690dac0956d04c0ee954f0.tar.gz
linux-stable-2497ee721524be80a7690dac0956d04c0ee954f0.tar.bz2
linux-stable-2497ee721524be80a7690dac0956d04c0ee954f0.zip
amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h>
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_chardev.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_chardev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
index c991973019d0..c6a1b4cc6458 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
@@ -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"