diff options
author | Christoph Hellwig <hch@lst.de> | 2015-08-28 03:27:16 -0400 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2015-08-30 05:36:58 -0400 |
commit | 2497ee721524be80a7690dac0956d04c0ee954f0 (patch) | |
tree | c387dd5df6319b4c64fa003aff38ad1342d15203 | |
parent | 92cffd56b21c825579f3b37bc7803e4c37073076 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 2 |
2 files changed, 2 insertions, 2 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 @@ | |||
31 | #include <uapi/linux/kfd_ioctl.h> | 31 | #include <uapi/linux/kfd_ioctl.h> |
32 | #include <linux/time.h> | 32 | #include <linux/time.h> |
33 | #include <linux/mm.h> | 33 | #include <linux/mm.h> |
34 | #include <uapi/asm-generic/mman-common.h> | 34 | #include <linux/mman.h> |
35 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
36 | #include "kfd_priv.h" | 36 | #include "kfd_priv.h" |
37 | #include "kfd_device_queue_manager.h" | 37 | #include "kfd_device_queue_manager.h" |
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c index 35b987574633..2b655103ba79 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/time.h> | 33 | #include <linux/time.h> |
34 | #include "kfd_priv.h" | 34 | #include "kfd_priv.h" |
35 | #include <linux/mm.h> | 35 | #include <linux/mm.h> |
36 | #include <uapi/asm-generic/mman-common.h> | 36 | #include <linux/mman.h> |
37 | #include <asm/processor.h> | 37 | #include <asm/processor.h> |
38 | 38 | ||
39 | /* | 39 | /* |