Skip to content

Commit

Permalink
riscv: use linux/uaccess.h, not asm/uaccess.h...
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Dec 4, 2017
1 parent 5bb866d commit 5e454b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/riscv/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e454b5

Please sign in to comment.