diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-12-05 02:01:01 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-12-05 02:01:01 +0300 |
commit | 5e454b5457b5f95c943913e619eeae1b9fb87fe6 (patch) | |
tree | eb93c1ec37484cd778d0360dfe79ce58248d278c /arch/riscv | |
parent | 5bb866de17db430e67032e0344f480a2dfc76b84 (diff) | |
download | linux-5e454b5457b5f95c943913e619eeae1b9fb87fe6.tar.xz |
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.c | 2 | ||||
-rw-r--r-- | arch/riscv/mm/fault.c | 1 |
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 |