diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 22:18:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 22:18:12 -0500 |
commit | 40b9672a2f071cbf931eb144997a21332bc0a747 (patch) | |
tree | 9ca1d0e049e3163cec7d337e9d4458e7ab2c857f | |
parent | dc1efc3cfaf5e16870a9a7b1b903dcf6e3ef15e8 (diff) | |
parent | c68070d0408eb2297331a9c9ae538a7bec13fc81 (diff) |
Merge branch 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull asm/uaccess.h whack-a-mole from Al Viro:
"It's linux/uaccess.h, damnit... Oh, well - eventually they'll stop
cropping up..."
* 'work.whack-a-mole' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
asm-prototypes.h: use linux/uaccess.h, not asm/uaccess.h
riscv: use linux/uaccess.h, not asm/uaccess.h...
ppc: for put_user() pull linux/uaccess.h, not asm/uaccess.h
-rw-r--r-- | arch/alpha/include/asm/asm-prototypes.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/asm-prototypes.h | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/asm-prototypes.h | 2 | ||||
-rw-r--r-- | arch/powerpc/kvm/book3s_xive.c | 2 | ||||
-rw-r--r-- | arch/riscv/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/riscv/mm/fault.c | 1 | ||||
-rw-r--r-- | arch/sparc/include/asm/asm-prototypes.h | 2 |
7 files changed, 6 insertions, 7 deletions
diff --git a/arch/alpha/include/asm/asm-prototypes.h b/arch/alpha/include/asm/asm-prototypes.h index d12c68ea340b..b34cc1f06720 100644 --- a/arch/alpha/include/asm/asm-prototypes.h +++ b/arch/alpha/include/asm/asm-prototypes.h | |||
@@ -4,7 +4,7 @@ | |||
4 | #include <asm/console.h> | 4 | #include <asm/console.h> |
5 | #include <asm/page.h> | 5 | #include <asm/page.h> |
6 | #include <asm/string.h> | 6 | #include <asm/string.h> |
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | 8 | ||
9 | #include <asm-generic/asm-prototypes.h> | 9 | #include <asm-generic/asm-prototypes.h> |
10 | 10 | ||
diff --git a/arch/ia64/include/asm/asm-prototypes.h b/arch/ia64/include/asm/asm-prototypes.h index c711536674e3..a96689447a74 100644 --- a/arch/ia64/include/asm/asm-prototypes.h +++ b/arch/ia64/include/asm/asm-prototypes.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <asm/page.h> | 9 | #include <asm/page.h> |
10 | #include <asm/pal.h> | 10 | #include <asm/pal.h> |
11 | #include <asm/string.h> | 11 | #include <asm/string.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <asm/unwind.h> | 13 | #include <asm/unwind.h> |
14 | #include <asm/xor.h> | 14 | #include <asm/xor.h> |
15 | 15 | ||
diff --git a/arch/mips/include/asm/asm-prototypes.h b/arch/mips/include/asm/asm-prototypes.h index d60b57f34e92..576f1a62dea9 100644 --- a/arch/mips/include/asm/asm-prototypes.h +++ b/arch/mips/include/asm/asm-prototypes.h | |||
@@ -3,5 +3,5 @@ | |||
3 | #include <asm/page.h> | 3 | #include <asm/page.h> |
4 | #include <asm/fpu.h> | 4 | #include <asm/fpu.h> |
5 | #include <asm-generic/asm-prototypes.h> | 5 | #include <asm-generic/asm-prototypes.h> |
6 | #include <asm/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | #include <asm/ftrace.h> | 7 | #include <asm/ftrace.h> |
diff --git a/arch/powerpc/kvm/book3s_xive.c b/arch/powerpc/kvm/book3s_xive.c index 0d750d274c4e..6882bc94eba8 100644 --- a/arch/powerpc/kvm/book3s_xive.c +++ b/arch/powerpc/kvm/book3s_xive.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <linux/percpu.h> | 17 | #include <linux/percpu.h> |
18 | #include <linux/cpumask.h> | 18 | #include <linux/cpumask.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/kvm_book3s.h> | 20 | #include <asm/kvm_book3s.h> |
21 | #include <asm/kvm_ppc.h> | 21 | #include <asm/kvm_ppc.h> |
22 | #include <asm/hvcall.h> | 22 | #include <asm/hvcall.h> |
diff --git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c index d74d4adf2d54..d7c6ca7c95ae 100644 --- a/arch/riscv/kernel/process.c +++ b/arch/riscv/kernel/process.c | |||
@@ -25,9 +25,9 @@ | |||
25 | #include <linux/sched/task_stack.h> | 25 | #include <linux/sched/task_stack.h> |
26 | #include <linux/tick.h> | 26 | #include <linux/tick.h> |
27 | #include <linux/ptrace.h> | 27 | #include <linux/ptrace.h> |
28 | #include <linux/uaccess.h> | ||
28 | 29 | ||
29 | #include <asm/unistd.h> | 30 | #include <asm/unistd.h> |
30 | #include <asm/uaccess.h> | ||
31 | #include <asm/processor.h> | 31 | #include <asm/processor.h> |
32 | #include <asm/csr.h> | 32 | #include <asm/csr.h> |
33 | #include <asm/string.h> | 33 | #include <asm/string.h> |
diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c index 0713f3c67ab4..ceebfc29305b 100644 --- a/arch/riscv/mm/fault.c +++ b/arch/riscv/mm/fault.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | #include <asm/pgalloc.h> | 30 | #include <asm/pgalloc.h> |
31 | #include <asm/ptrace.h> | 31 | #include <asm/ptrace.h> |
32 | #include <asm/uaccess.h> | ||
33 | 32 | ||
34 | /* | 33 | /* |
35 | * This routine handles page faults. It determines the address and the | 34 | * This routine handles page faults. It determines the address and the |
diff --git a/arch/sparc/include/asm/asm-prototypes.h b/arch/sparc/include/asm/asm-prototypes.h index 96e0972e8dbf..4987c735ff56 100644 --- a/arch/sparc/include/asm/asm-prototypes.h +++ b/arch/sparc/include/asm/asm-prototypes.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <asm/xor.h> | 6 | #include <asm/xor.h> |
7 | #include <asm/checksum.h> | 7 | #include <asm/checksum.h> |
8 | #include <asm/trap_block.h> | 8 | #include <asm/trap_block.h> |
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | #include <asm/atomic.h> | 10 | #include <asm/atomic.h> |
11 | #include <asm/ftrace.h> | 11 | #include <asm/ftrace.h> |
12 | #include <asm/cacheflush.h> | 12 | #include <asm/cacheflush.h> |