summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-12-04 18:01:01 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2017-12-04 18:01:01 -0500
commit5e454b5457b5f95c943913e619eeae1b9fb87fe6 (patch)
treeeb93c1ec37484cd778d0360dfe79ce58248d278c /arch/riscv
parent5bb866de17db430e67032e0344f480a2dfc76b84 (diff)
downloadtalos-obmc-linux-5e454b5457b5f95c943913e619eeae1b9fb87fe6.tar.gz
talos-obmc-linux-5e454b5457b5f95c943913e619eeae1b9fb87fe6.zip
riscv: use linux/uaccess.h, not asm/uaccess.h...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/kernel/process.c2
-rw-r--r--arch/riscv/mm/fault.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c
index 0d90dcc1fbd3..b01f71d2233b 100644
--- a/arch/riscv/kernel/process.c
+++ b/arch/riscv/kernel/process.c
@@ -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>
diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c
index df2ca3c65048..81e8c983d1fb 100644
--- a/arch/riscv/mm/fault.c
+++ b/arch/riscv/mm/fault.c
@@ -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
OpenPOWER on IntegriCloud