Skip to content

Commit

Permalink
amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Oded Gabbay committed Aug 30, 2015
1 parent 92cffd5 commit 2497ee7
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
Original file line number Diff line number Diff line change
@@ -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>

/*

0 comments on commit 2497ee7

Please sign in to comment.