riscv: use linux/uaccess.h, not asm/uaccess.h...
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Dec 2017 23:01:01 +0000 (18:01 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Dec 2017 23:01:01 +0000 (18:01 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/riscv/kernel/process.c
arch/riscv/mm/fault.c

index 0d90dcc1fbd36559823e48db2dc15ac4319b063d..b01f71d2233ba065ce309d224e967fc4b12b3fa8 100644 (file)
@@ -25,9 +25,9 @@
 #include <linux/sched/task_stack.h>
 #include <linux/tick.h>
 #include <linux/ptrace.h>
+#include <linux/uaccess.h>
 
 #include <asm/unistd.h>
-#include <asm/uaccess.h>
 #include <asm/processor.h>
 #include <asm/csr.h>
 #include <asm/string.h>
index df2ca3c65048f9347781b05309c9552eaa7d0844..81e8c983d1fbece5f4382e047389af1ed957e491 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <asm/pgalloc.h>
 #include <asm/ptrace.h>
-#include <asm/uaccess.h>
 
 /*
  * This routine handles page faults.  It determines the address and the