[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1412177725-2715-1-git-send-email-paulmcquad@gmail.com>
Date: Wed, 1 Oct 2014 16:35:25 +0100
From: Paul McQuade <paulmcquad@...il.com>
To: paulmcquad@...il.com
Cc: akpm@...ux-foundation.org, walken@...gle.com, hughd@...gle.com,
hannes@...xchg.org, aarcange@...hat.com,
kirill.shutemov@...ux.intel.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] MM: mremap use linux headers
"WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"
Signed-off-by: Paul McQuade <paulmcquad@...il.com>
---
mm/mremap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/mremap.c b/mm/mremap.c
index 05f1180..f970f02 100644
--- a/mm/mremap.c
+++ b/mm/mremap.c
@@ -21,8 +21,8 @@
#include <linux/syscalls.h>
#include <linux/mmu_notifier.h>
#include <linux/sched/sysctl.h>
+#include <linux/uaccess.h>
-#include <asm/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists