diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-24 14:46:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-24 14:46:01 -0500 |
commit | 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba (patch) | |
tree | 0a6e858d2c9e6e8cd7da1d4268972071fbeb77ca | |
parent | 1dd5c6b15372c7c127c509afa9a816bad5feed3b (diff) |
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
This was entirely automated, using the script by Al:
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
$(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)
to do the replacement at the end of the merge window.
Requested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1088 files changed, 1088 insertions, 1088 deletions
diff --git a/arch/alpha/boot/misc.c b/arch/alpha/boot/misc.c index 3ff9a957a25c..1b568ed74f95 100644 --- a/arch/alpha/boot/misc.c +++ b/arch/alpha/boot/misc.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | #define memzero(s,n) memset ((s),0,(n)) | 26 | #define memzero(s,n) memset ((s),0,(n)) |
27 | #define puts srm_printk | 27 | #define puts srm_printk |
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c index 2d6efcff3bf3..2f26ae74b61a 100644 --- a/arch/alpha/kernel/irq.c +++ b/arch/alpha/kernel/irq.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/bitops.h> | 26 | #include <linux/bitops.h> |
27 | 27 | ||
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | volatile unsigned long irq_err_count; | 31 | volatile unsigned long irq_err_count; |
32 | DEFINE_PER_CPU(unsigned long, irq_pmi_count); | 32 | DEFINE_PER_CPU(unsigned long, irq_pmi_count); |
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 56e427c7aa3c..54d8616644e2 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #include <asm/fpu.h> | 40 | #include <asm/fpu.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <asm/sysinfo.h> | 43 | #include <asm/sysinfo.h> |
44 | #include <asm/thread_info.h> | 44 | #include <asm/thread_info.h> |
45 | #include <asm/hwrpb.h> | 45 | #include <asm/hwrpb.h> |
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index b483156698d5..bca963a4aa48 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/rcupdate.h> | 31 | #include <linux/rcupdate.h> |
32 | 32 | ||
33 | #include <asm/reg.h> | 33 | #include <asm/reg.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/pgtable.h> | 36 | #include <asm/pgtable.h> |
37 | #include <asm/hwrpb.h> | 37 | #include <asm/hwrpb.h> |
diff --git a/arch/alpha/kernel/ptrace.c b/arch/alpha/kernel/ptrace.c index 04abdec7f496..bc4d2cdcf21d 100644 --- a/arch/alpha/kernel/ptrace.c +++ b/arch/alpha/kernel/ptrace.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/tracehook.h> | 16 | #include <linux/tracehook.h> |
17 | #include <linux/audit.h> | 17 | #include <linux/audit.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/pgtable.h> | 20 | #include <asm/pgtable.h> |
21 | #include <asm/fpu.h> | 21 | #include <asm/fpu.h> |
22 | 22 | ||
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c index 4811e54069fc..491e6a604e82 100644 --- a/arch/alpha/kernel/setup.c +++ b/arch/alpha/kernel/setup.c | |||
@@ -53,7 +53,7 @@ static struct notifier_block alpha_panic_block = { | |||
53 | INT_MAX /* try to do it first */ | 53 | INT_MAX /* try to do it first */ |
54 | }; | 54 | }; |
55 | 55 | ||
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/pgtable.h> | 57 | #include <asm/pgtable.h> |
58 | #include <asm/hwrpb.h> | 58 | #include <asm/hwrpb.h> |
59 | #include <asm/dma.h> | 59 | #include <asm/dma.h> |
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c index 8dbfb15f1745..17308f925306 100644 --- a/arch/alpha/kernel/signal.c +++ b/arch/alpha/kernel/signal.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/syscalls.h> | 22 | #include <linux/syscalls.h> |
23 | #include <linux/tracehook.h> | 23 | #include <linux/tracehook.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/sigcontext.h> | 26 | #include <asm/sigcontext.h> |
27 | #include <asm/ucontext.h> | 27 | #include <asm/ucontext.h> |
28 | 28 | ||
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c index ffe996a54fad..705ae12acd15 100644 --- a/arch/alpha/kernel/srm_env.c +++ b/arch/alpha/kernel/srm_env.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/proc_fs.h> | 35 | #include <linux/proc_fs.h> |
36 | #include <linux/seq_file.h> | 36 | #include <linux/seq_file.h> |
37 | #include <asm/console.h> | 37 | #include <asm/console.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/machvec.h> | 39 | #include <asm/machvec.h> |
40 | 40 | ||
41 | #define BASE_DIR "srm_environment" /* Subdir in /proc/ */ | 41 | #define BASE_DIR "srm_environment" /* Subdir in /proc/ */ |
diff --git a/arch/alpha/kernel/srmcons.c b/arch/alpha/kernel/srmcons.c index 72b59511e59a..e9c45b65a905 100644 --- a/arch/alpha/kernel/srmcons.c +++ b/arch/alpha/kernel/srmcons.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/tty_flip.h> | 18 | #include <linux/tty_flip.h> |
19 | 19 | ||
20 | #include <asm/console.h> | 20 | #include <asm/console.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | 23 | ||
24 | static DEFINE_SPINLOCK(srmcons_callback_lock); | 24 | static DEFINE_SPINLOCK(srmcons_callback_lock); |
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 5b6202a825ff..992000e3d9e4 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/profile.h> | 34 | #include <linux/profile.h> |
35 | #include <linux/irq_work.h> | 35 | #include <linux/irq_work.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <asm/hwrpb.h> | 39 | #include <asm/hwrpb.h> |
40 | 40 | ||
diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index 74aceead06e9..3328af7c2776 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/ratelimit.h> | 18 | #include <linux/ratelimit.h> |
19 | 19 | ||
20 | #include <asm/gentrap.h> | 20 | #include <asm/gentrap.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/unaligned.h> | 22 | #include <asm/unaligned.h> |
23 | #include <asm/sysinfo.h> | 23 | #include <asm/sysinfo.h> |
24 | #include <asm/hwrpb.h> | 24 | #include <asm/hwrpb.h> |
diff --git a/arch/alpha/lib/csum_partial_copy.c b/arch/alpha/lib/csum_partial_copy.c index b4ff3b683bcd..5dfb7975895f 100644 --- a/arch/alpha/lib/csum_partial_copy.c +++ b/arch/alpha/lib/csum_partial_copy.c | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | #include <linux/string.h> | 13 | #include <linux/string.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | 16 | ||
17 | #define ldq_u(x,y) \ | 17 | #define ldq_u(x,y) \ |
diff --git a/arch/alpha/math-emu/math.c b/arch/alpha/math-emu/math.c index 58c2669a1dd4..fa5ae0ad8983 100644 --- a/arch/alpha/math-emu/math.c +++ b/arch/alpha/math-emu/math.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | 5 | ||
6 | #include <asm/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | 7 | ||
8 | #include "sfp-util.h" | 8 | #include "sfp-util.h" |
9 | #include <math-emu/soft-fp.h> | 9 | #include <math-emu/soft-fp.h> |
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c index a1bea91df56a..0542e973c73d 100644 --- a/arch/alpha/mm/init.c +++ b/arch/alpha/mm/init.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/vmalloc.h> | 22 | #include <linux/vmalloc.h> |
23 | #include <linux/gfp.h> | 23 | #include <linux/gfp.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/pgalloc.h> | 27 | #include <asm/pgalloc.h> |
28 | #include <asm/hwrpb.h> | 28 | #include <asm/hwrpb.h> |
diff --git a/arch/arm/common/bL_switcher_dummy_if.c b/arch/arm/common/bL_switcher_dummy_if.c index 6053f64c3752..4c10c6452678 100644 --- a/arch/arm/common/bL_switcher_dummy_if.c +++ b/arch/arm/common/bL_switcher_dummy_if.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/miscdevice.h> | 17 | #include <linux/miscdevice.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/bL_switcher.h> | 19 | #include <asm/bL_switcher.h> |
20 | 20 | ||
21 | static ssize_t bL_switcher_write(struct file *file, const char __user *buf, | 21 | static ssize_t bL_switcher_write(struct file *file, const char __user *buf, |
diff --git a/arch/arm/kernel/swp_emulate.c b/arch/arm/kernel/swp_emulate.c index c3fe769d7558..853221f81104 100644 --- a/arch/arm/kernel/swp_emulate.c +++ b/arch/arm/kernel/swp_emulate.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/opcodes.h> | 29 | #include <asm/opcodes.h> |
30 | #include <asm/system_info.h> | 30 | #include <asm/system_info.h> |
31 | #include <asm/traps.h> | 31 | #include <asm/traps.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * Error-checking SWP macros implemented using ldrex{b}/strex{b} | 35 | * Error-checking SWP macros implemented using ldrex{b}/strex{b} |
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 8f92efa8460e..11676787ad49 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #define CREATE_TRACE_POINTS | 33 | #define CREATE_TRACE_POINTS |
34 | #include "trace.h" | 34 | #include "trace.h" |
35 | 35 | ||
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/ptrace.h> | 37 | #include <asm/ptrace.h> |
38 | #include <asm/mman.h> | 38 | #include <asm/mman.h> |
39 | #include <asm/tlbflush.h> | 39 | #include <asm/tlbflush.h> |
diff --git a/arch/arm/kvm/guest.c b/arch/arm/kvm/guest.c index 9aca92074f85..fa6182a40941 100644 --- a/arch/arm/kvm/guest.c +++ b/arch/arm/kvm/guest.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/vmalloc.h> | 23 | #include <linux/vmalloc.h> |
24 | #include <linux/fs.h> | 24 | #include <linux/fs.h> |
25 | #include <asm/cputype.h> | 25 | #include <asm/cputype.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/kvm.h> | 27 | #include <asm/kvm.h> |
28 | #include <asm/kvm_emulate.h> | 28 | #include <asm/kvm_emulate.h> |
29 | #include <asm/kvm_coproc.h> | 29 | #include <asm/kvm_coproc.h> |
diff --git a/arch/arm/mach-iop13xx/irq.c b/arch/arm/mach-iop13xx/irq.c index c702cc4092de..bd9b43c8004e 100644 --- a/arch/arm/mach-iop13xx/irq.c +++ b/arch/arm/mach-iop13xx/irq.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
22 | #include <linux/sysctl.h> | 22 | #include <linux/sysctl.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/mach/irq.h> | 24 | #include <asm/mach/irq.h> |
25 | #include <asm/irq.h> | 25 | #include <asm/irq.h> |
26 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 26874f608ca9..0f08f611c1a6 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <mach/udc.h> | 34 | #include <mach/udc.h> |
35 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
36 | #include <mach/io.h> | 36 | #include <mach/io.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
39 | #include <asm/page.h> | 39 | #include <asm/page.h> |
40 | #include <asm/irq.h> | 40 | #include <asm/irq.h> |
diff --git a/arch/arm/mach-rpc/dma.c b/arch/arm/mach-rpc/dma.c index 6d3517dc4772..fb48f3141fb4 100644 --- a/arch/arm/mach-rpc/dma.c +++ b/arch/arm/mach-rpc/dma.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/fiq.h> | 20 | #include <asm/fiq.h> |
21 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
22 | #include <mach/hardware.h> | 22 | #include <mach/hardware.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #include <asm/mach/dma.h> | 25 | #include <asm/mach/dma.h> |
26 | #include <asm/hardware/iomd.h> | 26 | #include <asm/hardware/iomd.h> |
diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c index 101e8f2c7abe..ed8d129d4bea 100644 --- a/arch/arm/plat-iop/time.c +++ b/arch/arm/plat-iop/time.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/sched_clock.h> | 25 | #include <linux/sched_clock.h> |
26 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
27 | #include <asm/irq.h> | 27 | #include <asm/irq.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/mach/irq.h> | 29 | #include <asm/mach/irq.h> |
30 | #include <asm/mach/time.h> | 30 | #include <asm/mach/time.h> |
31 | #include <mach/time.h> | 31 | #include <mach/time.h> |
diff --git a/arch/arm64/include/asm/word-at-a-time.h b/arch/arm64/include/asm/word-at-a-time.h index 2b79b8a89457..b0d708ff7f4e 100644 --- a/arch/arm64/include/asm/word-at-a-time.h +++ b/arch/arm64/include/asm/word-at-a-time.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifndef __ASM_WORD_AT_A_TIME_H | 16 | #ifndef __ASM_WORD_AT_A_TIME_H |
17 | #define __ASM_WORD_AT_A_TIME_H | 17 | #define __ASM_WORD_AT_A_TIME_H |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #ifndef __AARCH64EB__ | 21 | #ifndef __AARCH64EB__ |
22 | 22 | ||
diff --git a/arch/arm64/kernel/armv8_deprecated.c b/arch/arm64/kernel/armv8_deprecated.c index 04de188a36c9..fde04f029ec3 100644 --- a/arch/arm64/kernel/armv8_deprecated.c +++ b/arch/arm64/kernel/armv8_deprecated.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/sysreg.h> | 19 | #include <asm/sysreg.h> |
20 | #include <asm/system_misc.h> | 20 | #include <asm/system_misc.h> |
21 | #include <asm/traps.h> | 21 | #include <asm/traps.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/cpufeature.h> | 23 | #include <asm/cpufeature.h> |
24 | 24 | ||
25 | #define CREATE_TRACE_POINTS | 25 | #define CREATE_TRACE_POINTS |
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index 4f0d76339414..a7504f40d7ee 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/memory.h> | 31 | #include <asm/memory.h> |
32 | #include <asm/ptrace.h> | 32 | #include <asm/ptrace.h> |
33 | #include <asm/thread_info.h> | 33 | #include <asm/thread_info.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/unistd.h> | 35 | #include <asm/unistd.h> |
36 | 36 | ||
37 | /* | 37 | /* |
diff --git a/arch/arm64/kernel/probes/kprobes.c b/arch/arm64/kernel/probes/kprobes.c index 1decd2b2c730..f0593c92279b 100644 --- a/arch/arm64/kernel/probes/kprobes.c +++ b/arch/arm64/kernel/probes/kprobes.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/debug-monitors.h> | 29 | #include <asm/debug-monitors.h> |
30 | #include <asm/system_misc.h> | 30 | #include <asm/system_misc.h> |
31 | #include <asm/insn.h> | 31 | #include <asm/insn.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/sections.h> | 34 | #include <asm/sections.h> |
35 | 35 | ||
diff --git a/arch/arm64/kernel/signal32.c b/arch/arm64/kernel/signal32.c index b7063de792f7..c747a0fc5d7d 100644 --- a/arch/arm64/kernel/signal32.c +++ b/arch/arm64/kernel/signal32.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/esr.h> | 26 | #include <asm/esr.h> |
27 | #include <asm/fpsimd.h> | 27 | #include <asm/fpsimd.h> |
28 | #include <asm/signal32.h> | 28 | #include <asm/signal32.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/unistd.h> | 30 | #include <asm/unistd.h> |
31 | 31 | ||
32 | struct compat_sigcontext { | 32 | struct compat_sigcontext { |
diff --git a/arch/arm64/kvm/guest.c b/arch/arm64/kvm/guest.c index 3f9e15722473..b37446a8ffdb 100644 --- a/arch/arm64/kvm/guest.c +++ b/arch/arm64/kvm/guest.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/vmalloc.h> | 26 | #include <linux/vmalloc.h> |
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
28 | #include <asm/cputype.h> | 28 | #include <asm/cputype.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/kvm.h> | 30 | #include <asm/kvm.h> |
31 | #include <asm/kvm_emulate.h> | 31 | #include <asm/kvm_emulate.h> |
32 | #include <asm/kvm_coproc.h> | 32 | #include <asm/kvm_coproc.h> |
diff --git a/arch/arm64/lib/clear_user.S b/arch/arm64/lib/clear_user.S index d7150e30438a..add4a1334085 100644 --- a/arch/arm64/lib/clear_user.S +++ b/arch/arm64/lib/clear_user.S | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | #include <linux/linkage.h> | 18 | #include <linux/linkage.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | .text | 22 | .text |
23 | 23 | ||
diff --git a/arch/arm64/lib/copy_from_user.S b/arch/arm64/lib/copy_from_user.S index cfe13396085b..fd6cd05593f9 100644 --- a/arch/arm64/lib/copy_from_user.S +++ b/arch/arm64/lib/copy_from_user.S | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/linkage.h> | 17 | #include <linux/linkage.h> |
18 | 18 | ||
19 | #include <asm/cache.h> | 19 | #include <asm/cache.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Copy from user space to a kernel buffer (alignment handled by the hardware) | 23 | * Copy from user space to a kernel buffer (alignment handled by the hardware) |
diff --git a/arch/arm64/lib/copy_in_user.S b/arch/arm64/lib/copy_in_user.S index 718b1c4e2f85..d828540ded6f 100644 --- a/arch/arm64/lib/copy_in_user.S +++ b/arch/arm64/lib/copy_in_user.S | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/linkage.h> | 19 | #include <linux/linkage.h> |
20 | 20 | ||
21 | #include <asm/cache.h> | 21 | #include <asm/cache.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Copy from user space to user space (alignment handled by the hardware) | 25 | * Copy from user space to user space (alignment handled by the hardware) |
diff --git a/arch/arm64/lib/copy_to_user.S b/arch/arm64/lib/copy_to_user.S index e99e31c9acac..3e6ae2663b82 100644 --- a/arch/arm64/lib/copy_to_user.S +++ b/arch/arm64/lib/copy_to_user.S | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/linkage.h> | 17 | #include <linux/linkage.h> |
18 | 18 | ||
19 | #include <asm/cache.h> | 19 | #include <asm/cache.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Copy to user space from a kernel buffer (alignment handled by the hardware) | 23 | * Copy to user space from a kernel buffer (alignment handled by the hardware) |
diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S index da9576932322..17f422a4dc55 100644 --- a/arch/arm64/mm/cache.S +++ b/arch/arm64/mm/cache.S | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/assembler.h> | 23 | #include <asm/assembler.h> |
24 | #include <asm/cpufeature.h> | 24 | #include <asm/cpufeature.h> |
25 | #include <asm/alternative.h> | 25 | #include <asm/alternative.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * flush_icache_range(start,end) | 29 | * flush_icache_range(start,end) |
diff --git a/arch/arm64/xen/hypercall.S b/arch/arm64/xen/hypercall.S index b41aff25426d..47cf3f9d89ff 100644 --- a/arch/arm64/xen/hypercall.S +++ b/arch/arm64/xen/hypercall.S | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <linux/linkage.h> | 50 | #include <linux/linkage.h> |
51 | #include <asm/assembler.h> | 51 | #include <asm/assembler.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | #include <xen/interface/xen.h> | 53 | #include <xen/interface/xen.h> |
54 | 54 | ||
55 | 55 | ||
diff --git a/arch/avr32/kernel/avr32_ksyms.c b/arch/avr32/kernel/avr32_ksyms.c index 7c6cf14f0985..0d05fd095468 100644 --- a/arch/avr32/kernel/avr32_ksyms.c +++ b/arch/avr32/kernel/avr32_ksyms.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | 13 | ||
14 | #include <asm/checksum.h> | 14 | #include <asm/checksum.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | /* | 17 | /* |
18 | * GCC functions | 18 | * GCC functions |
diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c index 4aedcab7cd4b..a89b893279bb 100644 --- a/arch/avr32/kernel/ptrace.c +++ b/arch/avr32/kernel/ptrace.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/notifier.h> | 17 | #include <linux/notifier.h> |
18 | 18 | ||
19 | #include <asm/traps.h> | 19 | #include <asm/traps.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/ocd.h> | 21 | #include <asm/ocd.h> |
22 | #include <asm/mmu_context.h> | 22 | #include <asm/mmu_context.h> |
23 | #include <linux/kdebug.h> | 23 | #include <linux/kdebug.h> |
diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c index 8f1c63b9b983..b5fcc4914fe4 100644 --- a/arch/avr32/kernel/signal.c +++ b/arch/avr32/kernel/signal.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/unistd.h> | 17 | #include <linux/unistd.h> |
18 | #include <linux/tracehook.h> | 18 | #include <linux/tracehook.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/ucontext.h> | 21 | #include <asm/ucontext.h> |
22 | #include <asm/syscalls.h> | 22 | #include <asm/syscalls.h> |
23 | 23 | ||
diff --git a/arch/avr32/mm/cache.c b/arch/avr32/mm/cache.c index 85d635cd7b28..d9476825fc43 100644 --- a/arch/avr32/mm/cache.c +++ b/arch/avr32/mm/cache.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <asm/cacheflush.h> | 12 | #include <asm/cacheflush.h> |
13 | #include <asm/cachectl.h> | 13 | #include <asm/cachectl.h> |
14 | #include <asm/processor.h> | 14 | #include <asm/processor.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/syscalls.h> | 16 | #include <asm/syscalls.h> |
17 | 17 | ||
18 | /* | 18 | /* |
diff --git a/arch/blackfin/kernel/bfin_dma.c b/arch/blackfin/kernel/bfin_dma.c index 4a32f2dd5ddc..9d3eb0cf8ccc 100644 --- a/arch/blackfin/kernel/bfin_dma.c +++ b/arch/blackfin/kernel/bfin_dma.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/blackfin.h> | 19 | #include <asm/blackfin.h> |
20 | #include <asm/cacheflush.h> | 20 | #include <asm/cacheflush.h> |
21 | #include <asm/dma.h> | 21 | #include <asm/dma.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/early_printk.h> | 23 | #include <asm/early_printk.h> |
24 | 24 | ||
25 | /* | 25 | /* |
diff --git a/arch/blackfin/kernel/kgdb_test.c b/arch/blackfin/kernel/kgdb_test.c index 18ab004aea1c..b8b785dc4e3b 100644 --- a/arch/blackfin/kernel/kgdb_test.c +++ b/arch/blackfin/kernel/kgdb_test.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/proc_fs.h> | 12 | #include <linux/proc_fs.h> |
13 | 13 | ||
14 | #include <asm/current.h> | 14 | #include <asm/current.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #include <asm/blackfin.h> | 17 | #include <asm/blackfin.h> |
18 | 18 | ||
diff --git a/arch/blackfin/kernel/module.c b/arch/blackfin/kernel/module.c index 4489efc52883..0188c933b155 100644 --- a/arch/blackfin/kernel/module.c +++ b/arch/blackfin/kernel/module.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <asm/dma.h> | 15 | #include <asm/dma.h> |
16 | #include <asm/cacheflush.h> | 16 | #include <asm/cacheflush.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /* Transfer the section to the L1 memory */ | 19 | /* Transfer the section to the L1 memory */ |
20 | int | 20 | int |
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c index 63f5560d6eb2..4cc72b0d1c1d 100644 --- a/arch/c6x/mm/init.c +++ b/arch/c6x/mm/init.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/initrd.h> | 18 | #include <linux/initrd.h> |
19 | 19 | ||
20 | #include <asm/sections.h> | 20 | #include <asm/sections.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * ZERO_PAGE is a special page that is used for zero-initialized | 24 | * ZERO_PAGE is a special page that is used for zero-initialized |
diff --git a/arch/cris/arch-v10/drivers/eeprom.c b/arch/cris/arch-v10/drivers/eeprom.c index c903a9e53a47..33558d270a53 100644 --- a/arch/cris/arch-v10/drivers/eeprom.c +++ b/arch/cris/arch-v10/drivers/eeprom.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
31 | #include <linux/wait.h> | 31 | #include <linux/wait.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include "i2c.h" | 33 | #include "i2c.h" |
34 | 34 | ||
35 | #define D(x) | 35 | #define D(x) |
diff --git a/arch/cris/arch-v10/drivers/sync_serial.c b/arch/cris/arch-v10/drivers/sync_serial.c index 0f3983241e60..9ac75d68f184 100644 --- a/arch/cris/arch-v10/drivers/sync_serial.c +++ b/arch/cris/arch-v10/drivers/sync_serial.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <asm/dma.h> | 27 | #include <asm/dma.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <arch/svinto.h> | 29 | #include <arch/svinto.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/sync_serial.h> | 31 | #include <asm/sync_serial.h> |
32 | #include <arch/io_interface_mux.h> | 32 | #include <arch/io_interface_mux.h> |
33 | 33 | ||
diff --git a/arch/cris/arch-v10/kernel/ptrace.c b/arch/cris/arch-v10/kernel/ptrace.c index bfddfb99401f..eca94c7d56e7 100644 --- a/arch/cris/arch-v10/kernel/ptrace.c +++ b/arch/cris/arch-v10/kernel/ptrace.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/signal.h> | 12 | #include <linux/signal.h> |
13 | #include <linux/security.h> | 13 | #include <linux/security.h> |
14 | 14 | ||
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/page.h> | 16 | #include <asm/page.h> |
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
diff --git a/arch/cris/arch-v10/kernel/signal.c b/arch/cris/arch-v10/kernel/signal.c index 7122d9773b13..db30c98e4926 100644 --- a/arch/cris/arch-v10/kernel/signal.c +++ b/arch/cris/arch-v10/kernel/signal.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include <asm/processor.h> | 27 | #include <asm/processor.h> |
28 | #include <asm/ucontext.h> | 28 | #include <asm/ucontext.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <arch/system.h> | 30 | #include <arch/system.h> |
31 | 31 | ||
32 | #define DEBUG_SIG 0 | 32 | #define DEBUG_SIG 0 |
diff --git a/arch/cris/arch-v10/kernel/traps.c b/arch/cris/arch-v10/kernel/traps.c index 7001beda716c..96d004fe9740 100644 --- a/arch/cris/arch-v10/kernel/traps.c +++ b/arch/cris/arch-v10/kernel/traps.c | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/ptrace.h> | 11 | #include <linux/ptrace.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <arch/sv_addr_ag.h> | 13 | #include <arch/sv_addr_ag.h> |
14 | #include <arch/system.h> | 14 | #include <arch/system.h> |
15 | 15 | ||
diff --git a/arch/cris/arch-v10/lib/usercopy.c b/arch/cris/arch-v10/lib/usercopy.c index b964c667aced..1ba7cc000dfc 100644 --- a/arch/cris/arch-v10/lib/usercopy.c +++ b/arch/cris/arch-v10/lib/usercopy.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Pieces used from memcpy, originally by Kenny Ranerup long time ago. | 8 | * Pieces used from memcpy, originally by Kenny Ranerup long time ago. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | /* Asm:s have been tweaked (within the domain of correctness) to give | 13 | /* Asm:s have been tweaked (within the domain of correctness) to give |
14 | satisfactory results for "gcc version 2.96 20000427 (experimental)". | 14 | satisfactory results for "gcc version 2.96 20000427 (experimental)". |
diff --git a/arch/cris/arch-v10/mm/fault.c b/arch/cris/arch-v10/mm/fault.c index ed60588f8467..75210cbe61ce 100644 --- a/arch/cris/arch-v10/mm/fault.c +++ b/arch/cris/arch-v10/mm/fault.c | |||
@@ -11,7 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/pgtable.h> | 15 | #include <asm/pgtable.h> |
16 | #include <arch/svinto.h> | 16 | #include <arch/svinto.h> |
17 | #include <asm/mmu_context.h> | 17 | #include <asm/mmu_context.h> |
diff --git a/arch/cris/arch-v32/drivers/cryptocop.c b/arch/cris/arch-v32/drivers/cryptocop.c index 0068fd411a84..ae6903d7fdbe 100644 --- a/arch/cris/arch-v32/drivers/cryptocop.c +++ b/arch/cris/arch-v32/drivers/cryptocop.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/stddef.h> | 15 | #include <linux/stddef.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <linux/atomic.h> | 19 | #include <linux/atomic.h> |
20 | 20 | ||
diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/ptrace.c index fe1f9cf7b391..c366bc05466a 100644 --- a/arch/cris/arch-v32/kernel/ptrace.c +++ b/arch/cris/arch-v32/kernel/ptrace.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/signal.h> | 12 | #include <linux/signal.h> |
13 | #include <linux/security.h> | 13 | #include <linux/security.h> |
14 | 14 | ||
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/page.h> | 16 | #include <asm/page.h> |
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
diff --git a/arch/cris/arch-v32/kernel/signal.c b/arch/cris/arch-v32/kernel/signal.c index 150d1d76c29d..816bf2ca93ef 100644 --- a/arch/cris/arch-v32/kernel/signal.c +++ b/arch/cris/arch-v32/kernel/signal.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <asm/processor.h> | 19 | #include <asm/processor.h> |
20 | #include <asm/ucontext.h> | 20 | #include <asm/ucontext.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <arch/hwregs/cpu_vect.h> | 22 | #include <arch/hwregs/cpu_vect.h> |
23 | 23 | ||
24 | extern unsigned long cris_signal_return_page; | 24 | extern unsigned long cris_signal_return_page; |
diff --git a/arch/cris/arch-v32/kernel/traps.c b/arch/cris/arch-v32/kernel/traps.c index 8bbe09c93132..d79666aefd71 100644 --- a/arch/cris/arch-v32/kernel/traps.c +++ b/arch/cris/arch-v32/kernel/traps.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | #include <linux/ptrace.h> | 5 | #include <linux/ptrace.h> |
6 | #include <linux/module.h> | 6 | #include <linux/module.h> |
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | #include <hwregs/supp_reg.h> | 8 | #include <hwregs/supp_reg.h> |
9 | #include <hwregs/intr_vect_defs.h> | 9 | #include <hwregs/intr_vect_defs.h> |
10 | #include <asm/irq.h> | 10 | #include <asm/irq.h> |
diff --git a/arch/cris/arch-v32/lib/usercopy.c b/arch/cris/arch-v32/lib/usercopy.c index f0f335d8aa79..05e58dab800d 100644 --- a/arch/cris/arch-v32/lib/usercopy.c +++ b/arch/cris/arch-v32/lib/usercopy.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Pieces used from memcpy, originally by Kenny Ranerup long time ago. | 8 | * Pieces used from memcpy, originally by Kenny Ranerup long time ago. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | /* Asm:s have been tweaked (within the domain of correctness) to give | 13 | /* Asm:s have been tweaked (within the domain of correctness) to give |
14 | satisfactory results for "gcc version 3.2.1 Axis release R53/1.53-v32". | 14 | satisfactory results for "gcc version 3.2.1 Axis release R53/1.53-v32". |
diff --git a/arch/cris/kernel/crisksyms.c b/arch/cris/kernel/crisksyms.c index 31b4bd288cad..3166d1cf2f84 100644 --- a/arch/cris/kernel/crisksyms.c +++ b/arch/cris/kernel/crisksyms.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/tty.h> | 10 | #include <linux/tty.h> |
11 | 11 | ||
12 | #include <asm/processor.h> | 12 | #include <asm/processor.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <asm/checksum.h> | 14 | #include <asm/checksum.h> |
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include <asm/delay.h> | 16 | #include <asm/delay.h> |
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c index b78498eb079b..50a7dd451456 100644 --- a/arch/cris/kernel/process.c +++ b/arch/cris/kernel/process.c | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | #include <linux/atomic.h> | 15 | #include <linux/atomic.h> |
16 | #include <asm/pgtable.h> | 16 | #include <asm/pgtable.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
diff --git a/arch/cris/kernel/profile.c b/arch/cris/kernel/profile.c index cd9f15b92f8f..ad56b37f8e11 100644 --- a/arch/cris/kernel/profile.c +++ b/arch/cris/kernel/profile.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/slab.h> | 5 | #include <linux/slab.h> |
6 | #include <linux/types.h> | 6 | #include <linux/types.h> |
7 | #include <asm/ptrace.h> | 7 | #include <asm/ptrace.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | #define SAMPLE_BUFFER_SIZE 8192 | 10 | #define SAMPLE_BUFFER_SIZE 8192 |
11 | 11 | ||
diff --git a/arch/cris/kernel/ptrace.c b/arch/cris/kernel/ptrace.c index fd3427e563c5..806b764059d5 100644 --- a/arch/cris/kernel/ptrace.c +++ b/arch/cris/kernel/ptrace.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/user.h> | 18 | #include <linux/user.h> |
19 | #include <linux/tracehook.h> | 19 | #include <linux/tracehook.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/page.h> | 22 | #include <asm/page.h> |
23 | #include <asm/pgtable.h> | 23 | #include <asm/pgtable.h> |
24 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |
diff --git a/arch/cris/kernel/sys_cris.c b/arch/cris/kernel/sys_cris.c index 7aa036ec78ff..8febb032fdd7 100644 --- a/arch/cris/kernel/sys_cris.c +++ b/arch/cris/kernel/sys_cris.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/file.h> | 23 | #include <linux/file.h> |
24 | #include <linux/ipc.h> | 24 | #include <linux/ipc.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/segment.h> | 27 | #include <asm/segment.h> |
28 | 28 | ||
29 | asmlinkage long | 29 | asmlinkage long |
diff --git a/arch/cris/kernel/traps.c b/arch/cris/kernel/traps.c index da4c72401e27..b2a312a7afc6 100644 --- a/arch/cris/kernel/traps.c +++ b/arch/cris/kernel/traps.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | #include <asm/pgtable.h> | 22 | #include <asm/pgtable.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <arch/system.h> | 24 | #include <arch/system.h> |
25 | 25 | ||
26 | extern void arch_enable_nmi(void); | 26 | extern void arch_enable_nmi(void); |
diff --git a/arch/frv/include/asm/futex.h b/arch/frv/include/asm/futex.h index 4bea27f50a7a..2e1da71e27a4 100644 --- a/arch/frv/include/asm/futex.h +++ b/arch/frv/include/asm/futex.h | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | #include <linux/futex.h> | 6 | #include <linux/futex.h> |
7 | #include <asm/errno.h> | 7 | #include <asm/errno.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | extern int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr); | 10 | extern int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr); |
11 | 11 | ||
diff --git a/arch/frv/kernel/irq.c b/arch/frv/kernel/irq.c index 2239346fa3db..93513e4ccd2b 100644 --- a/arch/frv/kernel/irq.c +++ b/arch/frv/kernel/irq.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/atomic.h> | 28 | #include <linux/atomic.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/smp.h> | 30 | #include <asm/smp.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/pgalloc.h> | 32 | #include <asm/pgalloc.h> |
33 | #include <asm/delay.h> | 33 | #include <asm/delay.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
diff --git a/arch/frv/kernel/pm-mb93093.c b/arch/frv/kernel/pm-mb93093.c index eaa7b582ef52..8358e34a3fad 100644 --- a/arch/frv/kernel/pm-mb93093.c +++ b/arch/frv/kernel/pm-mb93093.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/sysctl.h> | 17 | #include <linux/sysctl.h> |
18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> |
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include <asm/mb86943a.h> | 22 | #include <asm/mb86943a.h> |
23 | 23 | ||
diff --git a/arch/frv/kernel/pm.c b/arch/frv/kernel/pm.c index ac767d94a880..051ccecbf7f1 100644 --- a/arch/frv/kernel/pm.c +++ b/arch/frv/kernel/pm.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/sysctl.h> | 19 | #include <linux/sysctl.h> |
20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include <asm/mb86943a.h> | 24 | #include <asm/mb86943a.h> |
25 | 25 | ||
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index 5d40aeb7712e..b306241c4ef2 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/rcupdate.h> | 28 | #include <linux/rcupdate.h> |
29 | 29 | ||
30 | #include <asm/asm-offsets.h> | 30 | #include <asm/asm-offsets.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/setup.h> | 32 | #include <asm/setup.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/tlb.h> | 34 | #include <asm/tlb.h> |
diff --git a/arch/frv/kernel/ptrace.c b/arch/frv/kernel/ptrace.c index 3987ff88dab0..49768401ce0f 100644 --- a/arch/frv/kernel/ptrace.c +++ b/arch/frv/kernel/ptrace.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/elf.h> | 23 | #include <linux/elf.h> |
24 | #include <linux/tracehook.h> | 24 | #include <linux/tracehook.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/page.h> | 27 | #include <asm/page.h> |
28 | #include <asm/pgtable.h> | 28 | #include <asm/pgtable.h> |
29 | #include <asm/processor.h> | 29 | #include <asm/processor.h> |
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 82d5e914dc15..bf6e07a7a1b1 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/personality.h> | 22 | #include <linux/personality.h> |
23 | #include <linux/tracehook.h> | 23 | #include <linux/tracehook.h> |
24 | #include <asm/ucontext.h> | 24 | #include <asm/ucontext.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | 27 | ||
28 | #define DEBUG_SIG 0 | 28 | #define DEBUG_SIG 0 |
diff --git a/arch/frv/kernel/sys_frv.c b/arch/frv/kernel/sys_frv.c index 9c4980825bbb..f80cc8b9bd45 100644 --- a/arch/frv/kernel/sys_frv.c +++ b/arch/frv/kernel/sys_frv.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/ipc.h> | 25 | #include <linux/ipc.h> |
26 | 26 | ||
27 | #include <asm/setup.h> | 27 | #include <asm/setup.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, | 30 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, |
31 | unsigned long prot, unsigned long flags, | 31 | unsigned long prot, unsigned long flags, |
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c index f4dfae2c75ad..b54a64971cf1 100644 --- a/arch/frv/kernel/sysctl.c +++ b/arch/frv/kernel/sysctl.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/sysctl.h> | 12 | #include <linux/sysctl.h> |
13 | #include <linux/proc_fs.h> | 13 | #include <linux/proc_fs.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | static const char frv_cache_wback[] = "wback"; | 17 | static const char frv_cache_wback[] = "wback"; |
18 | static const char frv_cache_wthru[] = "wthru"; | 18 | static const char frv_cache_wthru[] = "wthru"; |
diff --git a/arch/frv/kernel/traps.c b/arch/frv/kernel/traps.c index a6d105d61b26..31221fb4348e 100644 --- a/arch/frv/kernel/traps.c +++ b/arch/frv/kernel/traps.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/asm-offsets.h> | 23 | #include <asm/asm-offsets.h> |
24 | #include <asm/setup.h> | 24 | #include <asm/setup.h> |
25 | #include <asm/fpu.h> | 25 | #include <asm/fpu.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/siginfo.h> | 28 | #include <asm/siginfo.h> |
29 | #include <asm/unaligned.h> | 29 | #include <asm/unaligned.h> |
diff --git a/arch/frv/kernel/uaccess.c b/arch/frv/kernel/uaccess.c index 374f88d6cc00..8b360b4222a5 100644 --- a/arch/frv/kernel/uaccess.c +++ b/arch/frv/kernel/uaccess.c | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /*****************************************************************************/ | 16 | /*****************************************************************************/ |
17 | /* | 17 | /* |
diff --git a/arch/frv/mm/dma-alloc.c b/arch/frv/mm/dma-alloc.c index 7a73aaeae3ac..e701aa9e6a14 100644 --- a/arch/frv/mm/dma-alloc.c +++ b/arch/frv/mm/dma-alloc.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <asm/mmu_context.h> | 44 | #include <asm/mmu_context.h> |
45 | #include <asm/pgtable.h> | 45 | #include <asm/pgtable.h> |
46 | #include <asm/mmu.h> | 46 | #include <asm/mmu.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | #include <asm/smp.h> | 48 | #include <asm/smp.h> |
49 | 49 | ||
50 | static int map_page(unsigned long va, unsigned long pa, pgprot_t prot) | 50 | static int map_page(unsigned long va, unsigned long pa, pgprot_t prot) |
diff --git a/arch/frv/mm/extable.c b/arch/frv/mm/extable.c index 8863d6c1df6e..9a641c1b085a 100644 --- a/arch/frv/mm/extable.c +++ b/arch/frv/mm/extable.c | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <linux/spinlock.h> | 6 | #include <linux/spinlock.h> |
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | 8 | ||
9 | extern const void __memset_end, __memset_user_error_lr, __memset_user_error_handler; | 9 | extern const void __memset_end, __memset_user_error_lr, __memset_user_error_handler; |
10 | extern const void __memcpy_end, __memcpy_user_error_lr, __memcpy_user_error_handler; | 10 | extern const void __memcpy_end, __memcpy_user_error_lr, __memcpy_user_error_handler; |
diff --git a/arch/h8300/boot/compressed/misc.c b/arch/h8300/boot/compressed/misc.c index 9f64fe8f29ff..a947dbb4fd91 100644 --- a/arch/h8300/boot/compressed/misc.c +++ b/arch/h8300/boot/compressed/misc.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * Adapted for h8300 by Yoshinori Sato 2006 | 9 | * Adapted for h8300 by Yoshinori Sato 2006 |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * gzip declarations | 15 | * gzip declarations |
diff --git a/arch/h8300/kernel/process.c b/arch/h8300/kernel/process.c index dee41256922c..891974a11704 100644 --- a/arch/h8300/kernel/process.c +++ b/arch/h8300/kernel/process.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | #include <linux/rcupdate.h> | 39 | #include <linux/rcupdate.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/traps.h> | 42 | #include <asm/traps.h> |
43 | #include <asm/setup.h> | 43 | #include <asm/setup.h> |
44 | #include <asm/pgtable.h> | 44 | #include <asm/pgtable.h> |
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c index 7138303cbbf2..d784f7117f9a 100644 --- a/arch/h8300/kernel/signal.c +++ b/arch/h8300/kernel/signal.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/tracehook.h> | 41 | #include <linux/tracehook.h> |
42 | 42 | ||
43 | #include <asm/setup.h> | 43 | #include <asm/setup.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/pgtable.h> | 45 | #include <asm/pgtable.h> |
46 | #include <asm/traps.h> | 46 | #include <asm/traps.h> |
47 | #include <asm/ucontext.h> | 47 | #include <asm/ucontext.h> |
diff --git a/arch/hexagon/kernel/hexagon_ksyms.c b/arch/hexagon/kernel/hexagon_ksyms.c index c041d8ecb1e2..af9dec4c28eb 100644 --- a/arch/hexagon/kernel/hexagon_ksyms.c +++ b/arch/hexagon/kernel/hexagon_ksyms.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/dma-mapping.h> | 21 | #include <linux/dma-mapping.h> |
22 | #include <asm/hexagon_vm.h> | 22 | #include <asm/hexagon_vm.h> |
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | /* Additional functions */ | 26 | /* Additional functions */ |
27 | EXPORT_SYMBOL(__clear_user_hexagon); | 27 | EXPORT_SYMBOL(__clear_user_hexagon); |
diff --git a/arch/hexagon/kernel/signal.c b/arch/hexagon/kernel/signal.c index b039a624c170..c6b22b9945a7 100644 --- a/arch/hexagon/kernel/signal.c +++ b/arch/hexagon/kernel/signal.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/registers.h> | 24 | #include <asm/registers.h> |
25 | #include <asm/thread_info.h> | 25 | #include <asm/thread_info.h> |
26 | #include <asm/unistd.h> | 26 | #include <asm/unistd.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/ucontext.h> | 28 | #include <asm/ucontext.h> |
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/signal.h> | 30 | #include <asm/signal.h> |
diff --git a/arch/hexagon/mm/uaccess.c b/arch/hexagon/mm/uaccess.c index 34127261c2b7..ec90afdb3ad0 100644 --- a/arch/hexagon/mm/uaccess.c +++ b/arch/hexagon/mm/uaccess.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * we implement here as subroutines. | 23 | * we implement here as subroutines. |
24 | */ | 24 | */ |
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | 28 | ||
29 | /* | 29 | /* |
diff --git a/arch/hexagon/mm/vm_fault.c b/arch/hexagon/mm/vm_fault.c index bd7c251e2bce..de863d6d802b 100644 --- a/arch/hexagon/mm/vm_fault.c +++ b/arch/hexagon/mm/vm_fault.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/traps.h> | 28 | #include <asm/traps.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/signal.h> | 31 | #include <linux/signal.h> |
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
diff --git a/arch/ia64/kernel/brl_emu.c b/arch/ia64/kernel/brl_emu.c index 0b286ca164f9..8682df6263d6 100644 --- a/arch/ia64/kernel/brl_emu.c +++ b/arch/ia64/kernel/brl_emu.c | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/sched.h> | 11 | #include <linux/sched.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <asm/processor.h> | 13 | #include <asm/processor.h> |
14 | 14 | ||
15 | extern char ia64_set_b1, ia64_set_b2, ia64_set_b3, ia64_set_b4, ia64_set_b5; | 15 | extern char ia64_set_b1, ia64_set_b2, ia64_set_b3, ia64_set_b4, ia64_set_b5; |
diff --git a/arch/ia64/kernel/crash_dump.c b/arch/ia64/kernel/crash_dump.c index c8c9298666fb..9c12b794e774 100644 --- a/arch/ia64/kernel/crash_dump.c +++ b/arch/ia64/kernel/crash_dump.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/crash_dump.h> | 11 | #include <linux/crash_dump.h> |
12 | 12 | ||
13 | #include <asm/page.h> | 13 | #include <asm/page.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /** | 16 | /** |
17 | * copy_oldmem_page - copy one page from "oldmem" | 17 | * copy_oldmem_page - copy one page from "oldmem" |
diff --git a/arch/ia64/kernel/init_task.c b/arch/ia64/kernel/init_task.c index 0eaa89f3defd..fa8ee64adac2 100644 --- a/arch/ia64/kernel/init_task.c +++ b/arch/ia64/kernel/init_task.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/init_task.h> | 14 | #include <linux/init_task.h> |
15 | #include <linux/mqueue.h> | 15 | #include <linux/mqueue.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
19 | 19 | ||
20 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 20 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index de4fc00dea98..2ff1df7b14ea 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <asm/delay.h> | 19 | #include <asm/delay.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/seq_file.h> | 22 | #include <linux/seq_file.h> |
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index c7c51445c3be..45ff27e9edbb 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
35 | #include <asm/sections.h> | 35 | #include <asm/sections.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | extern void jprobe_inst_return(void); | 38 | extern void jprobe_inst_return(void); |
39 | 39 | ||
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 2436ad5f92c1..677a86826771 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <asm/perfmon.h> | 50 | #include <asm/perfmon.h> |
51 | #include <asm/processor.h> | 51 | #include <asm/processor.h> |
52 | #include <asm/signal.h> | 52 | #include <asm/signal.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | #include <asm/delay.h> | 54 | #include <asm/delay.h> |
55 | 55 | ||
56 | #ifdef CONFIG_PERFMON | 56 | #ifdef CONFIG_PERFMON |
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index aae6c4dc7ae7..52deab683ba1 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <asm/sal.h> | 41 | #include <asm/sal.h> |
42 | #include <asm/switch_to.h> | 42 | #include <asm/switch_to.h> |
43 | #include <asm/tlbflush.h> | 43 | #include <asm/tlbflush.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/unwind.h> | 45 | #include <asm/unwind.h> |
46 | #include <asm/user.h> | 46 | #include <asm/user.h> |
47 | 47 | ||
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c index 36f660da8124..0b1153e610ea 100644 --- a/arch/ia64/kernel/ptrace.c +++ b/arch/ia64/kernel/ptrace.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/processor.h> | 26 | #include <asm/processor.h> |
27 | #include <asm/ptrace_offsets.h> | 27 | #include <asm/ptrace_offsets.h> |
28 | #include <asm/rse.h> | 28 | #include <asm/rse.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/unwind.h> | 30 | #include <asm/unwind.h> |
31 | #ifdef CONFIG_PERFMON | 31 | #ifdef CONFIG_PERFMON |
32 | #include <asm/perfmon.h> | 32 | #include <asm/perfmon.h> |
diff --git a/arch/ia64/kernel/salinfo.c b/arch/ia64/kernel/salinfo.c index aaf74f36cfa1..d194d5c83d32 100644 --- a/arch/ia64/kernel/salinfo.c +++ b/arch/ia64/kernel/salinfo.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/semaphore.h> | 48 | #include <linux/semaphore.h> |
49 | 49 | ||
50 | #include <asm/sal.h> | 50 | #include <asm/sal.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | 52 | ||
53 | MODULE_AUTHOR("Jesse Barnes <jbarnes@sgi.com>"); | 53 | MODULE_AUTHOR("Jesse Barnes <jbarnes@sgi.com>"); |
54 | MODULE_DESCRIPTION("/proc interface to IA-64 SAL features"); | 54 | MODULE_DESCRIPTION("/proc interface to IA-64 SAL features"); |
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c index b3a124da71e5..5db52c6813c4 100644 --- a/arch/ia64/kernel/signal.c +++ b/arch/ia64/kernel/signal.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/wait.h> | 22 | #include <linux/wait.h> |
23 | 23 | ||
24 | #include <asm/intrinsics.h> | 24 | #include <asm/intrinsics.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/rse.h> | 26 | #include <asm/rse.h> |
27 | #include <asm/sigcontext.h> | 27 | #include <asm/sigcontext.h> |
28 | 28 | ||
diff --git a/arch/ia64/kernel/sys_ia64.c b/arch/ia64/kernel/sys_ia64.c index 41e33f84c185..a09c12230bc5 100644 --- a/arch/ia64/kernel/sys_ia64.c +++ b/arch/ia64/kernel/sys_ia64.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/hugetlb.h> | 18 | #include <linux/hugetlb.h> |
19 | 19 | ||
20 | #include <asm/shmparam.h> | 20 | #include <asm/shmparam.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | unsigned long | 23 | unsigned long |
24 | arch_get_unmapped_area (struct file *filp, unsigned long addr, unsigned long len, | 24 | arch_get_unmapped_area (struct file *filp, unsigned long addr, unsigned long len, |
diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c index 77edd68c5161..095bfaff82d0 100644 --- a/arch/ia64/kernel/traps.c +++ b/arch/ia64/kernel/traps.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/fpswa.h> | 21 | #include <asm/fpswa.h> |
22 | #include <asm/intrinsics.h> | 22 | #include <asm/intrinsics.h> |
23 | #include <asm/processor.h> | 23 | #include <asm/processor.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/setup.h> | 25 | #include <asm/setup.h> |
26 | 26 | ||
27 | fpswa_interface_t *fpswa_interface; | 27 | fpswa_interface_t *fpswa_interface; |
diff --git a/arch/ia64/kernel/unaligned.c b/arch/ia64/kernel/unaligned.c index 7f0d31656b4d..9cd01c2200ee 100644 --- a/arch/ia64/kernel/unaligned.c +++ b/arch/ia64/kernel/unaligned.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <asm/intrinsics.h> | 22 | #include <asm/intrinsics.h> |
23 | #include <asm/processor.h> | 23 | #include <asm/processor.h> |
24 | #include <asm/rse.h> | 24 | #include <asm/rse.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/unaligned.h> | 26 | #include <asm/unaligned.h> |
27 | 27 | ||
28 | extern int die_if_kernel(char *str, struct pt_regs *regs, long err); | 28 | extern int die_if_kernel(char *str, struct pt_regs *regs, long err); |
diff --git a/arch/ia64/kernel/unwind.c b/arch/ia64/kernel/unwind.c index 8f66195999e7..9704e2cd9878 100644 --- a/arch/ia64/kernel/unwind.c +++ b/arch/ia64/kernel/unwind.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <asm/ptrace_offsets.h> | 41 | #include <asm/ptrace_offsets.h> |
42 | #include <asm/rse.h> | 42 | #include <asm/rse.h> |
43 | #include <asm/sections.h> | 43 | #include <asm/sections.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | 45 | ||
46 | #include "entry.h" | 46 | #include "entry.h" |
47 | #include "unwind_i.h" | 47 | #include "unwind_i.h" |
diff --git a/arch/ia64/lib/csum_partial_copy.c b/arch/ia64/lib/csum_partial_copy.c index 118daf5a0632..42f7678ef6ad 100644 --- a/arch/ia64/lib/csum_partial_copy.c +++ b/arch/ia64/lib/csum_partial_copy.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/types.h> | 11 | #include <linux/types.h> |
12 | #include <linux/string.h> | 12 | #include <linux/string.h> |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * XXX Fixme: those 2 inlines are meant for debugging and will go away | 17 | * XXX Fixme: those 2 inlines are meant for debugging and will go away |
diff --git a/arch/ia64/mm/extable.c b/arch/ia64/mm/extable.c index 8f70bb2d0c37..4edb816aba9a 100644 --- a/arch/ia64/mm/extable.c +++ b/arch/ia64/mm/extable.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * David Mosberger-Tang <davidm@hpl.hp.com> | 5 | * David Mosberger-Tang <davidm@hpl.hp.com> |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | void | 10 | void |
11 | ia64_handle_exception (struct pt_regs *regs, const struct exception_table_entry *e) | 11 | ia64_handle_exception (struct pt_regs *regs, const struct exception_table_entry *e) |
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 1841ef69183d..bb4610faca84 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/sal.h> | 31 | #include <asm/sal.h> |
32 | #include <asm/sections.h> | 32 | #include <asm/sections.h> |
33 | #include <asm/tlb.h> | 33 | #include <asm/tlb.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/unistd.h> | 35 | #include <asm/unistd.h> |
36 | #include <asm/mca.h> | 36 | #include <asm/mca.h> |
37 | 37 | ||
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c index b9992571c036..4c3b84d8406a 100644 --- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c +++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #include <asm/processor.h> | 38 | #include <asm/processor.h> |
39 | #include <asm/topology.h> | 39 | #include <asm/topology.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/sal.h> | 41 | #include <asm/sal.h> |
42 | #include <asm/sn/io.h> | 42 | #include <asm/sn/io.h> |
43 | #include <asm/sn/sn_sal.h> | 43 | #include <asm/sn/sn_sal.h> |
diff --git a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c index 7aab87f48060..29cf8f8c08e9 100644 --- a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c +++ b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifdef CONFIG_PROC_FS | 9 | #ifdef CONFIG_PROC_FS |
10 | #include <linux/proc_fs.h> | 10 | #include <linux/proc_fs.h> |
11 | #include <linux/seq_file.h> | 11 | #include <linux/seq_file.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <asm/sn/sn_sal.h> | 13 | #include <asm/sn/sn_sal.h> |
14 | 14 | ||
15 | static int partition_id_show(struct seq_file *s, void *p) | 15 | static int partition_id_show(struct seq_file *s, void *p) |
diff --git a/arch/ia64/sn/kernel/tiocx.c b/arch/ia64/sn/kernel/tiocx.c index e35f6485c1fd..32d0380eb72e 100644 --- a/arch/ia64/sn/kernel/tiocx.c +++ b/arch/ia64/sn/kernel/tiocx.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/capability.h> | 14 | #include <linux/capability.h> |
15 | #include <linux/device.h> | 15 | #include <linux/device.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/sn/sn_sal.h> | 18 | #include <asm/sn/sn_sal.h> |
19 | #include <asm/sn/addrs.h> | 19 | #include <asm/sn/addrs.h> |
20 | #include <asm/sn/io.h> | 20 | #include <asm/sn/io.h> |
diff --git a/arch/m32r/kernel/align.c b/arch/m32r/kernel/align.c index ab871ccd33f8..ec51e5b34860 100644 --- a/arch/m32r/kernel/align.c +++ b/arch/m32r/kernel/align.c | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <asm/ptrace.h> | 7 | #include <asm/ptrace.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | static int get_reg(struct pt_regs *regs, int nr) | 10 | static int get_reg(struct pt_regs *regs, int nr) |
11 | { | 11 | { |
diff --git a/arch/m32r/kernel/irq.c b/arch/m32r/kernel/irq.c index c7272b894283..5537f7397297 100644 --- a/arch/m32r/kernel/irq.c +++ b/arch/m32r/kernel/irq.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/kernel_stat.h> | 19 | #include <linux/kernel_stat.h> |
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * do_IRQ handles all normal device IRQs (the special | 25 | * do_IRQ handles all normal device IRQs (the special |
diff --git a/arch/m32r/kernel/m32r_ksyms.c b/arch/m32r/kernel/m32r_ksyms.c index 23f26f4adfff..d763f0bd2106 100644 --- a/arch/m32r/kernel/m32r_ksyms.c +++ b/arch/m32r/kernel/m32r_ksyms.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
9 | 9 | ||
10 | #include <asm/processor.h> | 10 | #include <asm/processor.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <asm/checksum.h> | 12 | #include <asm/checksum.h> |
13 | #include <asm/io.h> | 13 | #include <asm/io.h> |
14 | #include <asm/delay.h> | 14 | #include <asm/delay.h> |
diff --git a/arch/m32r/kernel/process.c b/arch/m32r/kernel/process.c index a88b1f01e91f..e0568bee60c0 100644 --- a/arch/m32r/kernel/process.c +++ b/arch/m32r/kernel/process.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/rcupdate.h> | 29 | #include <linux/rcupdate.h> |
30 | 30 | ||
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/mmu_context.h> | 33 | #include <asm/mmu_context.h> |
34 | #include <asm/elf.h> | 34 | #include <asm/elf.h> |
35 | #include <asm/m32r.h> | 35 | #include <asm/m32r.h> |
diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c index c145605a981f..a68acb9fa515 100644 --- a/arch/m32r/kernel/ptrace.c +++ b/arch/m32r/kernel/ptrace.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #include <asm/cacheflush.h> | 28 | #include <asm/cacheflush.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/pgtable.h> | 31 | #include <asm/pgtable.h> |
32 | #include <asm/processor.h> | 32 | #include <asm/processor.h> |
33 | #include <asm/mmu_context.h> | 33 | #include <asm/mmu_context.h> |
diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c index 1c81e24fd006..1ed597041fba 100644 --- a/arch/m32r/kernel/signal.c +++ b/arch/m32r/kernel/signal.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/tracehook.h> | 23 | #include <linux/tracehook.h> |
24 | #include <asm/cacheflush.h> | 24 | #include <asm/cacheflush.h> |
25 | #include <asm/ucontext.h> | 25 | #include <asm/ucontext.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #define DEBUG_SIG 0 | 28 | #define DEBUG_SIG 0 |
29 | 29 | ||
diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c index c3fdd632fba7..f34957032504 100644 --- a/arch/m32r/kernel/sys_m32r.c +++ b/arch/m32r/kernel/sys_m32r.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/utsname.h> | 22 | #include <linux/utsname.h> |
23 | #include <linux/ipc.h> | 23 | #include <linux/ipc.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/cachectl.h> | 26 | #include <asm/cachectl.h> |
27 | #include <asm/cacheflush.h> | 27 | #include <asm/cacheflush.h> |
28 | #include <asm/syscall.h> | 28 | #include <asm/syscall.h> |
diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index a7a424f852e4..c3c5fdfae920 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/page.h> | 18 | #include <asm/page.h> |
19 | #include <asm/processor.h> | 19 | #include <asm/processor.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | 24 | ||
diff --git a/arch/m32r/lib/csum_partial_copy.c b/arch/m32r/lib/csum_partial_copy.c index 5596f3df833f..b3cd59c12b8e 100644 --- a/arch/m32r/lib/csum_partial_copy.c +++ b/arch/m32r/lib/csum_partial_copy.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <net/checksum.h> | 23 | #include <net/checksum.h> |
24 | #include <asm/byteorder.h> | 24 | #include <asm/byteorder.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * Copy while checksumming, otherwise like csum_partial | 28 | * Copy while checksumming, otherwise like csum_partial |
diff --git a/arch/m32r/lib/usercopy.c b/arch/m32r/lib/usercopy.c index 82abd159dbef..fd03f2731f20 100644 --- a/arch/m32r/lib/usercopy.c +++ b/arch/m32r/lib/usercopy.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/prefetch.h> | 9 | #include <linux/prefetch.h> |
10 | #include <linux/string.h> | 10 | #include <linux/string.h> |
11 | #include <linux/thread_info.h> | 11 | #include <linux/thread_info.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | 13 | ||
14 | unsigned long | 14 | unsigned long |
15 | __generic_copy_to_user(void __user *to, const void *from, unsigned long n) | 15 | __generic_copy_to_user(void __user *to, const void *from, unsigned long n) |
diff --git a/arch/m32r/mm/extable.c b/arch/m32r/mm/extable.c index 1743f23d49a3..40ccf80d29cf 100644 --- a/arch/m32r/mm/extable.c +++ b/arch/m32r/mm/extable.c | |||
@@ -3,7 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <asm/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | 7 | ||
8 | int fixup_exception(struct pt_regs *regs) | 8 | int fixup_exception(struct pt_regs *regs) |
9 | { | 9 | { |
diff --git a/arch/m32r/mm/fault-nommu.c b/arch/m32r/mm/fault-nommu.c index 80f18cc6f547..e22d5ddae5cb 100644 --- a/arch/m32r/mm/fault-nommu.c +++ b/arch/m32r/mm/fault-nommu.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/vt_kern.h> /* For unblank_screen() */ | 22 | #include <linux/vt_kern.h> /* For unblank_screen() */ |
23 | 23 | ||
24 | #include <asm/m32r.h> | 24 | #include <asm/m32r.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/pgalloc.h> | 26 | #include <asm/pgalloc.h> |
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/hardirq.h> | 28 | #include <asm/hardirq.h> |
diff --git a/arch/m68k/bvme6000/rtc.c b/arch/m68k/bvme6000/rtc.c index f7984f44ff0f..d53c9b301f84 100644 --- a/arch/m68k/bvme6000/rtc.c +++ b/arch/m68k/bvme6000/rtc.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/bvme6000hw.h> | 20 | #include <asm/bvme6000hw.h> |
21 | 21 | ||
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/setup.h> | 24 | #include <asm/setup.h> |
25 | 25 | ||
26 | /* | 26 | /* |
diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c index 4ba1ae7345c3..aaf28f8e342d 100644 --- a/arch/m68k/kernel/process.c +++ b/arch/m68k/kernel/process.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/mqueue.h> | 27 | #include <linux/mqueue.h> |
28 | #include <linux/rcupdate.h> | 28 | #include <linux/rcupdate.h> |
29 | 29 | ||
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/traps.h> | 31 | #include <asm/traps.h> |
32 | #include <asm/machdep.h> | 32 | #include <asm/machdep.h> |
33 | #include <asm/setup.h> | 33 | #include <asm/setup.h> |
diff --git a/arch/m68k/kernel/ptrace.c b/arch/m68k/kernel/ptrace.c index 1bc10e62b9af..9cd86d7343a6 100644 --- a/arch/m68k/kernel/ptrace.c +++ b/arch/m68k/kernel/ptrace.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/signal.h> | 20 | #include <linux/signal.h> |
21 | #include <linux/tracehook.h> | 21 | #include <linux/tracehook.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/page.h> | 24 | #include <asm/page.h> |
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/processor.h> | 26 | #include <asm/processor.h> |
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c index 58507edbdf1d..8ead291a902a 100644 --- a/arch/m68k/kernel/signal.c +++ b/arch/m68k/kernel/signal.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/tracehook.h> | 46 | #include <linux/tracehook.h> |
47 | 47 | ||
48 | #include <asm/setup.h> | 48 | #include <asm/setup.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <asm/pgtable.h> | 50 | #include <asm/pgtable.h> |
51 | #include <asm/traps.h> | 51 | #include <asm/traps.h> |
52 | #include <asm/ucontext.h> | 52 | #include <asm/ucontext.h> |
diff --git a/arch/m68k/kernel/sys_m68k.c b/arch/m68k/kernel/sys_m68k.c index 9aa01adb407f..98a2daaae30c 100644 --- a/arch/m68k/kernel/sys_m68k.c +++ b/arch/m68k/kernel/sys_m68k.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/ipc.h> | 22 | #include <linux/ipc.h> |
23 | 23 | ||
24 | #include <asm/setup.h> | 24 | #include <asm/setup.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/cachectl.h> | 26 | #include <asm/cachectl.h> |
27 | #include <asm/traps.h> | 27 | #include <asm/traps.h> |
28 | #include <asm/page.h> | 28 | #include <asm/page.h> |
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c index 6c9ca24830e9..558f38402737 100644 --- a/arch/m68k/kernel/traps.c +++ b/arch/m68k/kernel/traps.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/setup.h> | 33 | #include <asm/setup.h> |
34 | #include <asm/fpu.h> | 34 | #include <asm/fpu.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/traps.h> | 36 | #include <asm/traps.h> |
37 | #include <asm/pgalloc.h> | 37 | #include <asm/pgalloc.h> |
38 | #include <asm/machdep.h> | 38 | #include <asm/machdep.h> |
diff --git a/arch/m68k/lib/uaccess.c b/arch/m68k/lib/uaccess.c index 35d1442dee89..a76b73abaf64 100644 --- a/arch/m68k/lib/uaccess.c +++ b/arch/m68k/lib/uaccess.c | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/module.h> | 7 | #include <linux/module.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | unsigned long __generic_copy_from_user(void *to, const void __user *from, | 10 | unsigned long __generic_copy_from_user(void *to, const void __user *from, |
11 | unsigned long n) | 11 | unsigned long n) |
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c index 0fb54a90eac2..c6d351f5bd79 100644 --- a/arch/m68k/mac/misc.c +++ b/arch/m68k/mac/misc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/cuda.h> | 16 | #include <linux/cuda.h> |
17 | #include <linux/pmu.h> | 17 | #include <linux/pmu.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/segment.h> | 21 | #include <asm/segment.h> |
22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index b09a3cb29b68..9c1e656b1f8f 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/gfp.h> | 20 | #include <linux/gfp.h> |
21 | 21 | ||
22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/page.h> | 24 | #include <asm/page.h> |
25 | #include <asm/pgalloc.h> | 25 | #include <asm/pgalloc.h> |
26 | #include <asm/traps.h> | 26 | #include <asm/traps.h> |
diff --git a/arch/m68k/mm/motorola.c b/arch/m68k/mm/motorola.c index 8f37fdd80be9..7cb72dbc2eaa 100644 --- a/arch/m68k/mm/motorola.c +++ b/arch/m68k/mm/motorola.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/gfp.h> | 21 | #include <linux/gfp.h> |
22 | 22 | ||
23 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/page.h> | 25 | #include <asm/page.h> |
26 | #include <asm/pgalloc.h> | 26 | #include <asm/pgalloc.h> |
27 | #include <asm/machdep.h> | 27 | #include <asm/machdep.h> |
diff --git a/arch/m68k/mm/sun3mmu.c b/arch/m68k/mm/sun3mmu.c index 269f81158a33..b5b7d53f7283 100644 --- a/arch/m68k/mm/sun3mmu.c +++ b/arch/m68k/mm/sun3mmu.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/bootmem.h> | 18 | #include <linux/bootmem.h> |
19 | 19 | ||
20 | #include <asm/setup.h> | 20 | #include <asm/setup.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/page.h> | 22 | #include <asm/page.h> |
23 | #include <asm/pgtable.h> | 23 | #include <asm/pgtable.h> |
24 | #include <asm/machdep.h> | 24 | #include <asm/machdep.h> |
diff --git a/arch/m68k/mvme16x/rtc.c b/arch/m68k/mvme16x/rtc.c index 1cdc73268188..8f00847a0e4b 100644 --- a/arch/m68k/mvme16x/rtc.c +++ b/arch/m68k/mvme16x/rtc.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/mvme16xhw.h> | 19 | #include <asm/mvme16xhw.h> |
20 | 20 | ||
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/setup.h> | 23 | #include <asm/setup.h> |
24 | 24 | ||
25 | /* | 25 | /* |
diff --git a/arch/m68k/sun3/mmu_emu.c b/arch/m68k/sun3/mmu_emu.c index 3f258e230ba5..0f95134e9b85 100644 --- a/arch/m68k/sun3/mmu_emu.c +++ b/arch/m68k/sun3/mmu_emu.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <asm/setup.h> | 19 | #include <asm/setup.h> |
20 | #include <asm/traps.h> | 20 | #include <asm/traps.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/page.h> | 22 | #include <asm/page.h> |
23 | #include <asm/pgtable.h> | 23 | #include <asm/pgtable.h> |
24 | #include <asm/sun3mmu.h> | 24 | #include <asm/sun3mmu.h> |
diff --git a/arch/metag/kernel/irq.c b/arch/metag/kernel/irq.c index 3074b64793e6..c9939604a38f 100644 --- a/arch/metag/kernel/irq.c +++ b/arch/metag/kernel/irq.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <asm/core_reg.h> | 14 | #include <asm/core_reg.h> |
15 | #include <asm/mach/arch.h> | 15 | #include <asm/mach/arch.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #ifdef CONFIG_4KSTACKS | 18 | #ifdef CONFIG_4KSTACKS |
19 | union irq_ctx { | 19 | union irq_ctx { |
diff --git a/arch/mips/alchemy/common/power.c b/arch/mips/alchemy/common/power.c index 921ed30b440c..303257b697c2 100644 --- a/arch/mips/alchemy/common/power.c +++ b/arch/mips/alchemy/common/power.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/sysctl.h> | 33 | #include <linux/sysctl.h> |
34 | #include <linux/jiffies.h> | 34 | #include <linux/jiffies.h> |
35 | 35 | ||
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/mach-au1x00/au1000.h> | 37 | #include <asm/mach-au1x00/au1000.h> |
38 | 38 | ||
39 | /* | 39 | /* |
diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c index 44d8a87a8a68..e9d2db480aeb 100644 --- a/arch/mips/dec/kn01-berr.c +++ b/arch/mips/dec/kn01-berr.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/page.h> | 23 | #include <asm/page.h> |
24 | #include <asm/ptrace.h> | 24 | #include <asm/ptrace.h> |
25 | #include <asm/traps.h> | 25 | #include <asm/traps.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #include <asm/dec/kn01.h> | 28 | #include <asm/dec/kn01.h> |
29 | 29 | ||
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h index bce1ce53149a..7749daf2a465 100644 --- a/arch/mips/include/asm/checksum.h +++ b/arch/mips/include/asm/checksum.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <linux/in6.h> | 19 | #include <linux/in6.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * computes the checksum of a memory block at buff, length len, | 24 | * computes the checksum of a memory block at buff, length len, |
diff --git a/arch/mips/include/asm/compat-signal.h b/arch/mips/include/asm/compat-signal.h index 64e0b9343b8c..4c6176467146 100644 --- a/arch/mips/include/asm/compat-signal.h +++ b/arch/mips/include/asm/compat-signal.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <asm/signal.h> | 8 | #include <asm/signal.h> |
9 | #include <asm/siginfo.h> | 9 | #include <asm/siginfo.h> |
10 | 10 | ||
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | static inline int __copy_conv_sigset_to_user(compat_sigset_t __user *d, | 13 | static inline int __copy_conv_sigset_to_user(compat_sigset_t __user *d, |
14 | const sigset_t *s) | 14 | const sigset_t *s) |
diff --git a/arch/mips/include/asm/r4kcache.h b/arch/mips/include/asm/r4kcache.h index 667ca3c467b7..b42b513007a2 100644 --- a/arch/mips/include/asm/r4kcache.h +++ b/arch/mips/include/asm/r4kcache.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/cpu-features.h> | 20 | #include <asm/cpu-features.h> |
21 | #include <asm/cpu-type.h> | 21 | #include <asm/cpu-type.h> |
22 | #include <asm/mipsmtregs.h> | 22 | #include <asm/mipsmtregs.h> |
23 | #include <asm/uaccess.h> /* for segment_eq() */ | 23 | #include <linux/uaccess.h> /* for segment_eq() */ |
24 | 24 | ||
25 | extern void (*r4k_blast_dcache)(void); | 25 | extern void (*r4k_blast_dcache)(void); |
26 | extern void (*r4k_blast_icache)(void); | 26 | extern void (*r4k_blast_icache)(void); |
diff --git a/arch/mips/include/asm/termios.h b/arch/mips/include/asm/termios.h index 6245b68a69a8..ce2d72e34274 100644 --- a/arch/mips/include/asm/termios.h +++ b/arch/mips/include/asm/termios.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifndef _ASM_TERMIOS_H | 9 | #ifndef _ASM_TERMIOS_H |
10 | #define _ASM_TERMIOS_H | 10 | #define _ASM_TERMIOS_H |
11 | 11 | ||
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <uapi/asm/termios.h> | 13 | #include <uapi/asm/termios.h> |
14 | 14 | ||
15 | /* | 15 | /* |
diff --git a/arch/mips/jazz/jazzdma.c b/arch/mips/jazz/jazzdma.c index db6f5afff4ff..1900f39588ae 100644 --- a/arch/mips/jazz/jazzdma.c +++ b/arch/mips/jazz/jazzdma.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/mipsregs.h> | 18 | #include <asm/mipsregs.h> |
19 | #include <asm/jazz.h> | 19 | #include <asm/jazz.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/dma.h> | 22 | #include <asm/dma.h> |
23 | #include <asm/jazzdma.h> | 23 | #include <asm/jazzdma.h> |
24 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c index 12c718181e5e..ae037a304ee4 100644 --- a/arch/mips/kernel/branch.c +++ b/arch/mips/kernel/branch.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/inst.h> | 18 | #include <asm/inst.h> |
19 | #include <asm/mips-r2-to-r6-emul.h> | 19 | #include <asm/mips-r2-to-r6-emul.h> |
20 | #include <asm/ptrace.h> | 20 | #include <asm/ptrace.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * Calculate and return exception PC in case of branch delay slot | 24 | * Calculate and return exception PC in case of branch delay slot |
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index dd3175442c9e..07718bb5fc9d 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <asm/elf.h> | 30 | #include <asm/elf.h> |
31 | #include <asm/pgtable-bits.h> | 31 | #include <asm/pgtable-bits.h> |
32 | #include <asm/spram.h> | 32 | #include <asm/spram.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | /* Hardware capabilities */ | 35 | /* Hardware capabilities */ |
36 | unsigned int elf_hwcap __read_mostly; | 36 | unsigned int elf_hwcap __read_mostly; |
diff --git a/arch/mips/kernel/crash_dump.c b/arch/mips/kernel/crash_dump.c index 6fe7790e5868..77ee99a2d0aa 100644 --- a/arch/mips/kernel/crash_dump.c +++ b/arch/mips/kernel/crash_dump.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include <linux/highmem.h> | 1 | #include <linux/highmem.h> |
2 | #include <linux/bootmem.h> | 2 | #include <linux/bootmem.h> |
3 | #include <linux/crash_dump.h> | 3 | #include <linux/crash_dump.h> |
4 | #include <asm/uaccess.h> | 4 | #include <linux/uaccess.h> |
5 | #include <linux/slab.h> | 5 | #include <linux/slab.h> |
6 | 6 | ||
7 | static void *kdump_buf_page; | 7 | static void *kdump_buf_page; |
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index f25f7eab7307..f8f5836eb3c1 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/ftrace.h> | 23 | #include <linux/ftrace.h> |
24 | 24 | ||
25 | #include <linux/atomic.h> | 25 | #include <linux/atomic.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * 'what should we do if we get a hw irq event on an illegal vector'. | 29 | * 'what should we do if we get a hw irq event on an illegal vector'. |
diff --git a/arch/mips/kernel/kgdb.c b/arch/mips/kernel/kgdb.c index de63d36af895..1f4bd222ba76 100644 --- a/arch/mips/kernel/kgdb.c +++ b/arch/mips/kernel/kgdb.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/cacheflush.h> | 32 | #include <asm/cacheflush.h> |
33 | #include <asm/processor.h> | 33 | #include <asm/processor.h> |
34 | #include <asm/sigcontext.h> | 34 | #include <asm/sigcontext.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | static struct hard_trap_info { | 37 | static struct hard_trap_info { |
38 | unsigned char tt; /* Trap type code for MIPS R3xxx and R4xxx */ | 38 | unsigned char tt; /* Trap type code for MIPS R3xxx and R4xxx */ |
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 50fb62544df7..0352f742d077 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <asm/compat-signal.h> | 39 | #include <asm/compat-signal.h> |
40 | #include <asm/sim.h> | 40 | #include <asm/sim.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/mmu_context.h> | 42 | #include <asm/mmu_context.h> |
43 | #include <asm/mman.h> | 43 | #include <asm/mman.h> |
44 | 44 | ||
diff --git a/arch/mips/kernel/mips-mt-fpaff.c b/arch/mips/kernel/mips-mt-fpaff.c index 789d7bf4fef3..a12904ea9f65 100644 --- a/arch/mips/kernel/mips-mt-fpaff.c +++ b/arch/mips/kernel/mips-mt-fpaff.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/sched.h> | 11 | #include <linux/sched.h> |
12 | #include <linux/security.h> | 12 | #include <linux/security.h> |
13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * CPU mask used to set process affinity for MT VPEs/TCs with FPUs | 17 | * CPU mask used to set process affinity for MT VPEs/TCs with FPUs |
diff --git a/arch/mips/kernel/mips-r2-to-r6-emul.c b/arch/mips/kernel/mips-r2-to-r6-emul.c index bd09853aecdf..ef2ca28a028b 100644 --- a/arch/mips/kernel/mips-r2-to-r6-emul.c +++ b/arch/mips/kernel/mips-r2-to-r6-emul.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/local.h> | 29 | #include <asm/local.h> |
30 | #include <asm/mipsregs.h> | 30 | #include <asm/mipsregs.h> |
31 | #include <asm/ptrace.h> | 31 | #include <asm/ptrace.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #ifdef CONFIG_64BIT | 34 | #ifdef CONFIG_64BIT |
35 | #define ADDIU "daddiu " | 35 | #define ADDIU "daddiu " |
diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c index e2b6ab74643d..93aeec705a6e 100644 --- a/arch/mips/kernel/mips_ksyms.c +++ b/arch/mips/kernel/mips_ksyms.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/export.h> | 12 | #include <linux/export.h> |
13 | #include <asm/checksum.h> | 13 | #include <asm/checksum.h> |
14 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/ftrace.h> | 16 | #include <asm/ftrace.h> |
17 | #include <asm/fpu.h> | 17 | #include <asm/fpu.h> |
18 | #include <asm/msa.h> | 18 | #include <asm/msa.h> |
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 9514e5f2209f..5142b1dfe8a7 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <asm/mipsregs.h> | 38 | #include <asm/mipsregs.h> |
39 | #include <asm/processor.h> | 39 | #include <asm/processor.h> |
40 | #include <asm/reg.h> | 40 | #include <asm/reg.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <asm/elf.h> | 43 | #include <asm/elf.h> |
44 | #include <asm/isadep.h> | 44 | #include <asm/isadep.h> |
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index a92994d60e91..c8ba26072132 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <asm/pgtable.h> | 41 | #include <asm/pgtable.h> |
42 | #include <asm/page.h> | 42 | #include <asm/page.h> |
43 | #include <asm/syscall.h> | 43 | #include <asm/syscall.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/bootinfo.h> | 45 | #include <asm/bootinfo.h> |
46 | #include <asm/reg.h> | 46 | #include <asm/reg.h> |
47 | 47 | ||
diff --git a/arch/mips/kernel/ptrace32.c b/arch/mips/kernel/ptrace32.c index 5fcbdcd7abd0..4f0998525626 100644 --- a/arch/mips/kernel/ptrace32.c +++ b/arch/mips/kernel/ptrace32.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/pgtable.h> | 32 | #include <asm/pgtable.h> |
33 | #include <asm/page.h> | 33 | #include <asm/page.h> |
34 | #include <asm/reg.h> | 34 | #include <asm/reg.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/bootinfo.h> | 36 | #include <asm/bootinfo.h> |
37 | 37 | ||
38 | /* | 38 | /* |
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index 97b7c51b8251..84165f2b31ff 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <asm/compat.h> | 17 | #include <asm/compat.h> |
18 | #include <asm/compat-signal.h> | 18 | #include <asm/compat-signal.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/unistd.h> | 20 | #include <asm/unistd.h> |
21 | 21 | ||
22 | #include "signal-common.h" | 22 | #include "signal-common.h" |
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index a7bc38430500..b672cebb4a1a 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/cacheflush.h> | 33 | #include <asm/cacheflush.h> |
34 | #include <asm/compat-signal.h> | 34 | #include <asm/compat-signal.h> |
35 | #include <asm/sim.h> | 35 | #include <asm/sim.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/ucontext.h> | 37 | #include <asm/ucontext.h> |
38 | #include <asm/fpu.h> | 38 | #include <asm/fpu.h> |
39 | #include <asm/cpu-features.h> | 39 | #include <asm/cpu-features.h> |
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 53a7ef9a8f32..833f82210528 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <asm/sim.h> | 36 | #include <asm/sim.h> |
37 | #include <asm/shmparam.h> | 37 | #include <asm/shmparam.h> |
38 | #include <asm/sysmips.h> | 38 | #include <asm/sysmips.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/switch_to.h> | 40 | #include <asm/switch_to.h> |
41 | 41 | ||
42 | /* | 42 | /* |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 3905003dfe2b..6c7f9d7e92b3 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #include <asm/siginfo.h> | 61 | #include <asm/siginfo.h> |
62 | #include <asm/tlbdebug.h> | 62 | #include <asm/tlbdebug.h> |
63 | #include <asm/traps.h> | 63 | #include <asm/traps.h> |
64 | #include <asm/uaccess.h> | 64 | #include <linux/uaccess.h> |
65 | #include <asm/watch.h> | 65 | #include <asm/watch.h> |
66 | #include <asm/mmu_context.h> | 66 | #include <asm/mmu_context.h> |
67 | #include <asm/types.h> | 67 | #include <asm/types.h> |
diff --git a/arch/mips/kernel/unaligned.c b/arch/mips/kernel/unaligned.c index f1c308dbbc4a..7ed98354fe9d 100644 --- a/arch/mips/kernel/unaligned.c +++ b/arch/mips/kernel/unaligned.c | |||
@@ -89,7 +89,7 @@ | |||
89 | #include <asm/fpu.h> | 89 | #include <asm/fpu.h> |
90 | #include <asm/fpu_emulator.h> | 90 | #include <asm/fpu_emulator.h> |
91 | #include <asm/inst.h> | 91 | #include <asm/inst.h> |
92 | #include <asm/uaccess.h> | 92 | #include <linux/uaccess.h> |
93 | 93 | ||
94 | #define STR(x) __STR(x) | 94 | #define STR(x) __STR(x) |
95 | #define __STR(x) #x | 95 | #define __STR(x) #x |
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index f8b7bf836437..a298ac93edcc 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <asm/inst.h> | 42 | #include <asm/inst.h> |
43 | #include <asm/ptrace.h> | 43 | #include <asm/ptrace.h> |
44 | #include <asm/signal.h> | 44 | #include <asm/signal.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include <asm/cpu-info.h> | 47 | #include <asm/cpu-info.h> |
48 | #include <asm/processor.h> | 48 | #include <asm/processor.h> |
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c index 4a094f7acb3d..c4469ff4a996 100644 --- a/arch/mips/math-emu/dsemul.c +++ b/arch/mips/math-emu/dsemul.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <asm/fpu_emulator.h> | 6 | #include <asm/fpu_emulator.h> |
7 | #include <asm/inst.h> | 7 | #include <asm/inst.h> |
8 | #include <asm/mipsregs.h> | 8 | #include <asm/mipsregs.h> |
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | 10 | ||
11 | /** | 11 | /** |
12 | * struct emuframe - The 'emulation' frame structure | 12 | * struct emuframe - The 'emulation' frame structure |
diff --git a/arch/mips/mm/extable.c b/arch/mips/mm/extable.c index e474fa2efed4..81bc8a34a83f 100644 --- a/arch/mips/mm/extable.c +++ b/arch/mips/mm/extable.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/extable.h> | 8 | #include <linux/extable.h> |
9 | #include <linux/spinlock.h> | 9 | #include <linux/spinlock.h> |
10 | #include <asm/branch.h> | 10 | #include <asm/branch.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | int fixup_exception(struct pt_regs *regs) | 13 | int fixup_exception(struct pt_regs *regs) |
14 | { | 14 | { |
diff --git a/arch/mips/mm/sc-debugfs.c b/arch/mips/mm/sc-debugfs.c index 01f1154cdb0c..7e945e310b44 100644 --- a/arch/mips/mm/sc-debugfs.c +++ b/arch/mips/mm/sc-debugfs.c | |||
@@ -10,7 +10,7 @@ | |||
10 | 10 | ||
11 | #include <asm/bcache.h> | 11 | #include <asm/bcache.h> |
12 | #include <asm/debug.h> | 12 | #include <asm/debug.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/debugfs.h> | 14 | #include <linux/debugfs.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | 16 | ||
diff --git a/arch/mips/oprofile/op_model_loongson3.c b/arch/mips/oprofile/op_model_loongson3.c index 85f3ee4ab456..40660392006f 100644 --- a/arch/mips/oprofile/op_model_loongson3.c +++ b/arch/mips/oprofile/op_model_loongson3.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/oprofile.h> | 11 | #include <linux/oprofile.h> |
12 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <irq.h> | 15 | #include <irq.h> |
16 | #include <loongson.h> | 16 | #include <loongson.h> |
17 | #include "op_impl.h" | 17 | #include "op_impl.h" |
diff --git a/arch/mips/sgi-ip22/ip28-berr.c b/arch/mips/sgi-ip22/ip28-berr.c index 712cc0f6a58d..9960a8302eac 100644 --- a/arch/mips/sgi-ip22/ip28-berr.c +++ b/arch/mips/sgi-ip22/ip28-berr.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/sgi/ioc.h> | 19 | #include <asm/sgi/ioc.h> |
20 | #include <asm/sgi/ip22.h> | 20 | #include <asm/sgi/ip22.h> |
21 | #include <asm/r4kcache.h> | 21 | #include <asm/r4kcache.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/bootinfo.h> | 23 | #include <asm/bootinfo.h> |
24 | 24 | ||
25 | static unsigned int count_be_is_fixup; | 25 | static unsigned int count_be_is_fixup; |
diff --git a/arch/mips/sgi-ip27/ip27-berr.c b/arch/mips/sgi-ip27/ip27-berr.c index 692778da9e76..2e0edb385656 100644 --- a/arch/mips/sgi-ip27/ip27-berr.c +++ b/arch/mips/sgi-ip27/ip27-berr.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/sn/sn0/hub.h> | 19 | #include <asm/sn/sn0/hub.h> |
20 | #include <asm/tlbdebug.h> | 20 | #include <asm/tlbdebug.h> |
21 | #include <asm/traps.h> | 21 | #include <asm/traps.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | static void dump_hub_information(unsigned long errst0, unsigned long errst1) | 24 | static void dump_hub_information(unsigned long errst0, unsigned long errst1) |
25 | { | 25 | { |
diff --git a/arch/mips/sgi-ip32/ip32-berr.c b/arch/mips/sgi-ip32/ip32-berr.c index afc1cadbba37..ba8f46d80ab8 100644 --- a/arch/mips/sgi-ip32/ip32-berr.c +++ b/arch/mips/sgi-ip32/ip32-berr.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
13 | #include <asm/traps.h> | 13 | #include <asm/traps.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/addrspace.h> | 15 | #include <asm/addrspace.h> |
16 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
17 | #include <asm/tlbdebug.h> | 17 | #include <asm/tlbdebug.h> |
diff --git a/arch/mips/sibyte/common/sb_tbprof.c b/arch/mips/sibyte/common/sb_tbprof.c index 059e28c8fd97..99c720be72d2 100644 --- a/arch/mips/sibyte/common/sb_tbprof.c +++ b/arch/mips/sibyte/common/sb_tbprof.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #define K_INT_PERF_CNT K_BCM1480_INT_PERF_CNT | 54 | #define K_INT_PERF_CNT K_BCM1480_INT_PERF_CNT |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | 58 | ||
59 | #define SBPROF_TB_MAJOR 240 | 59 | #define SBPROF_TB_MAJOR 240 |
60 | 60 | ||
diff --git a/arch/mn10300/kernel/fpu.c b/arch/mn10300/kernel/fpu.c index 064fa194de2b..2578b7ae7dd5 100644 --- a/arch/mn10300/kernel/fpu.c +++ b/arch/mn10300/kernel/fpu.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * as published by the Free Software Foundation; either version | 8 | * as published by the Free Software Foundation; either version |
9 | * 2 of the Licence, or (at your option) any later version. | 9 | * 2 of the Licence, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <asm/fpu.h> | 12 | #include <asm/fpu.h> |
13 | #include <asm/elf.h> | 13 | #include <asm/elf.h> |
14 | #include <asm/exceptions.h> | 14 | #include <asm/exceptions.h> |
diff --git a/arch/mn10300/kernel/mn10300_ksyms.c b/arch/mn10300/kernel/mn10300_ksyms.c index f9eb9753a404..ec6c4f8f93a6 100644 --- a/arch/mn10300/kernel/mn10300_ksyms.c +++ b/arch/mn10300/kernel/mn10300_ksyms.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * 2 of the Licence, or (at your option) any later version. | 9 | * 2 of the Licence, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <asm/pgtable.h> | 13 | #include <asm/pgtable.h> |
14 | 14 | ||
15 | 15 | ||
diff --git a/arch/mn10300/kernel/process.c b/arch/mn10300/kernel/process.c index cbede4e88dee..e5def2217f72 100644 --- a/arch/mn10300/kernel/process.c +++ b/arch/mn10300/kernel/process.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/fs.h> | 26 | #include <linux/fs.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <linux/rcupdate.h> | 28 | #include <linux/rcupdate.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/processor.h> | 32 | #include <asm/processor.h> |
diff --git a/arch/mn10300/kernel/ptrace.c b/arch/mn10300/kernel/ptrace.c index 5bd58514e739..976020f469c1 100644 --- a/arch/mn10300/kernel/ptrace.c +++ b/arch/mn10300/kernel/ptrace.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/regset.h> | 19 | #include <linux/regset.h> |
20 | #include <linux/elf.h> | 20 | #include <linux/elf.h> |
21 | #include <linux/tracehook.h> | 21 | #include <linux/tracehook.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/pgtable.h> | 23 | #include <asm/pgtable.h> |
24 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |
25 | #include <asm/cacheflush.h> | 25 | #include <asm/cacheflush.h> |
diff --git a/arch/mn10300/kernel/setup.c b/arch/mn10300/kernel/setup.c index 2ad7f32fa122..1b3d80d8a171 100644 --- a/arch/mn10300/kernel/setup.c +++ b/arch/mn10300/kernel/setup.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/cpu.h> | 25 | #include <linux/cpu.h> |
26 | #include <asm/processor.h> | 26 | #include <asm/processor.h> |
27 | #include <linux/console.h> | 27 | #include <linux/console.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/setup.h> | 29 | #include <asm/setup.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/smp.h> | 31 | #include <asm/smp.h> |
diff --git a/arch/mn10300/kernel/signal.c b/arch/mn10300/kernel/signal.c index cd8cb1d1176b..2f3cb5734235 100644 --- a/arch/mn10300/kernel/signal.c +++ b/arch/mn10300/kernel/signal.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/tracehook.h> | 25 | #include <linux/tracehook.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | #include <asm/ucontext.h> | 27 | #include <asm/ucontext.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/fpu.h> | 29 | #include <asm/fpu.h> |
30 | #include "sigframe.h" | 30 | #include "sigframe.h" |
31 | 31 | ||
diff --git a/arch/mn10300/kernel/sys_mn10300.c b/arch/mn10300/kernel/sys_mn10300.c index 815f1355fad4..f999981e55c0 100644 --- a/arch/mn10300/kernel/sys_mn10300.c +++ b/arch/mn10300/kernel/sys_mn10300.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/file.h> | 21 | #include <linux/file.h> |
22 | #include <linux/tty.h> | 22 | #include <linux/tty.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | asmlinkage long old_mmap(unsigned long addr, unsigned long len, | 26 | asmlinkage long old_mmap(unsigned long addr, unsigned long len, |
27 | unsigned long prot, unsigned long flags, | 27 | unsigned long prot, unsigned long flags, |
diff --git a/arch/mn10300/lib/checksum.c b/arch/mn10300/lib/checksum.c index b6580f5d89ee..0f569151ef11 100644 --- a/arch/mn10300/lib/checksum.c +++ b/arch/mn10300/lib/checksum.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | #include <asm/byteorder.h> | 14 | #include <asm/byteorder.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/checksum.h> | 16 | #include <asm/checksum.h> |
17 | #include "internal.h" | 17 | #include "internal.h" |
18 | 18 | ||
diff --git a/arch/mn10300/mm/cache-smp.c b/arch/mn10300/mm/cache-smp.c index 2d23b9eeee62..e80996064d3d 100644 --- a/arch/mn10300/mm/cache-smp.c +++ b/arch/mn10300/mm/cache-smp.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/cacheflush.h> | 19 | #include <asm/cacheflush.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/smp.h> | 22 | #include <asm/smp.h> |
23 | #include "cache-smp.h" | 23 | #include "cache-smp.h" |
24 | 24 | ||
diff --git a/arch/mn10300/mm/cache.c b/arch/mn10300/mm/cache.c index 0a1f0aa92ebc..0b925cce2b83 100644 --- a/arch/mn10300/mm/cache.c +++ b/arch/mn10300/mm/cache.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/processor.h> | 17 | #include <asm/processor.h> |
18 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/smp.h> | 21 | #include <asm/smp.h> |
22 | #include "cache-smp.h" | 22 | #include "cache-smp.h" |
23 | 23 | ||
diff --git a/arch/mn10300/mm/extable.c b/arch/mn10300/mm/extable.c index 25e5485ab87d..305de461cb8f 100644 --- a/arch/mn10300/mm/extable.c +++ b/arch/mn10300/mm/extable.c | |||
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | int fixup_exception(struct pt_regs *regs) | 15 | int fixup_exception(struct pt_regs *regs) |
16 | { | 16 | { |
diff --git a/arch/mn10300/mm/init.c b/arch/mn10300/mm/init.c index 97a1ec0beeec..8ce677d5575e 100644 --- a/arch/mn10300/mm/init.c +++ b/arch/mn10300/mm/init.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
30 | 30 | ||
31 | #include <asm/processor.h> | 31 | #include <asm/processor.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/pgalloc.h> | 34 | #include <asm/pgalloc.h> |
35 | #include <asm/dma.h> | 35 | #include <asm/dma.h> |
diff --git a/arch/mn10300/mm/misalignment.c b/arch/mn10300/mm/misalignment.c index b9920b1edd5a..31d04da85743 100644 --- a/arch/mn10300/mm/misalignment.c +++ b/arch/mn10300/mm/misalignment.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
24 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |
25 | #include <asm/processor.h> | 25 | #include <asm/processor.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <linux/atomic.h> | 28 | #include <linux/atomic.h> |
29 | #include <asm/smp.h> | 29 | #include <asm/smp.h> |
diff --git a/arch/mn10300/proc-mn2ws0050/proc-init.c b/arch/mn10300/proc-mn2ws0050/proc-init.c index 950cc8dbb284..25b1b453c515 100644 --- a/arch/mn10300/proc-mn2ws0050/proc-init.c +++ b/arch/mn10300/proc-mn2ws0050/proc-init.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <asm/cacheflush.h> | 17 | #include <asm/cacheflush.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <linux/atomic.h> | 21 | #include <linux/atomic.h> |
22 | #include <asm/smp.h> | 22 | #include <asm/smp.h> |
diff --git a/arch/nios2/kernel/traps.c b/arch/nios2/kernel/traps.c index 81f7da7b1d55..72ed30a93c85 100644 --- a/arch/nios2/kernel/traps.c +++ b/arch/nios2/kernel/traps.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <asm/traps.h> | 20 | #include <asm/traps.h> |
21 | #include <asm/sections.h> | 21 | #include <asm/sections.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | static DEFINE_SPINLOCK(die_lock); | 24 | static DEFINE_SPINLOCK(die_lock); |
25 | 25 | ||
diff --git a/arch/openrisc/kernel/or32_ksyms.c b/arch/openrisc/kernel/or32_ksyms.c index 83ccf7c0c58d..86e31cf1de1d 100644 --- a/arch/openrisc/kernel/or32_ksyms.c +++ b/arch/openrisc/kernel/or32_ksyms.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/semaphore.h> | 24 | #include <linux/semaphore.h> |
25 | 25 | ||
26 | #include <asm/processor.h> | 26 | #include <asm/processor.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/checksum.h> | 28 | #include <asm/checksum.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/hardirq.h> | 30 | #include <asm/hardirq.h> |
diff --git a/arch/openrisc/kernel/process.c b/arch/openrisc/kernel/process.c index 277123bb4bf8..d7990df9025a 100644 --- a/arch/openrisc/kernel/process.c +++ b/arch/openrisc/kernel/process.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/mqueue.h> | 36 | #include <linux/mqueue.h> |
37 | #include <linux/fs.h> | 37 | #include <linux/fs.h> |
38 | 38 | ||
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/pgtable.h> | 40 | #include <asm/pgtable.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/processor.h> | 42 | #include <asm/processor.h> |
diff --git a/arch/openrisc/kernel/signal.c b/arch/openrisc/kernel/signal.c index c82be69b43c6..265f10fb3930 100644 --- a/arch/openrisc/kernel/signal.c +++ b/arch/openrisc/kernel/signal.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <asm/processor.h> | 30 | #include <asm/processor.h> |
31 | #include <asm/syscall.h> | 31 | #include <asm/syscall.h> |
32 | #include <asm/ucontext.h> | 32 | #include <asm/ucontext.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #define DEBUG_SIG 0 | 35 | #define DEBUG_SIG 0 |
36 | 36 | ||
diff --git a/arch/openrisc/kernel/traps.c b/arch/openrisc/kernel/traps.c index 3d3f6062f49c..a4574cb4b0fb 100644 --- a/arch/openrisc/kernel/traps.c +++ b/arch/openrisc/kernel/traps.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/timer.h> | 31 | #include <linux/timer.h> |
32 | #include <linux/mm.h> | 32 | #include <linux/mm.h> |
33 | #include <linux/kallsyms.h> | 33 | #include <linux/kallsyms.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include <asm/segment.h> | 36 | #include <asm/segment.h> |
37 | #include <asm/io.h> | 37 | #include <asm/io.h> |
diff --git a/arch/openrisc/mm/fault.c b/arch/openrisc/mm/fault.c index e94cd225e816..b1a7435e786a 100644 --- a/arch/openrisc/mm/fault.c +++ b/arch/openrisc/mm/fault.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/siginfo.h> | 24 | #include <asm/siginfo.h> |
25 | #include <asm/signal.h> | 25 | #include <asm/signal.h> |
26 | 26 | ||
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c index 78d30d2ea2d8..1c4fe61a592b 100644 --- a/arch/parisc/kernel/asm-offsets.c +++ b/arch/parisc/kernel/asm-offsets.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <asm/ptrace.h> | 38 | #include <asm/ptrace.h> |
39 | #include <asm/processor.h> | 39 | #include <asm/processor.h> |
40 | #include <asm/pdc.h> | 40 | #include <asm/pdc.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #ifdef CONFIG_64BIT | 43 | #ifdef CONFIG_64BIT |
44 | #define FRAME_SIZE 128 | 44 | #define FRAME_SIZE 128 |
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c index 3cad8aadc69e..7484b3d11e0d 100644 --- a/arch/parisc/kernel/parisc_ksyms.c +++ b/arch/parisc/kernel/parisc_ksyms.c | |||
@@ -43,7 +43,7 @@ EXPORT_SYMBOL(__xchg64); | |||
43 | EXPORT_SYMBOL(__cmpxchg_u64); | 43 | EXPORT_SYMBOL(__cmpxchg_u64); |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | EXPORT_SYMBOL(lclear_user); | 47 | EXPORT_SYMBOL(lclear_user); |
48 | EXPORT_SYMBOL(lstrnlen_user); | 48 | EXPORT_SYMBOL(lstrnlen_user); |
49 | 49 | ||
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c index b6298a85e8ae..697c53543a4d 100644 --- a/arch/parisc/kernel/pci-dma.c +++ b/arch/parisc/kernel/pci-dma.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/page.h> /* get_order */ | 34 | #include <asm/page.h> /* get_order */ |
35 | #include <asm/pgalloc.h> | 35 | #include <asm/pgalloc.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/tlbflush.h> /* for purge_tlb_*() macros */ | 37 | #include <asm/tlbflush.h> /* for purge_tlb_*() macros */ |
38 | 38 | ||
39 | static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL; | 39 | static struct proc_dir_entry * proc_gsc_root __read_mostly = NULL; |
diff --git a/arch/parisc/kernel/perf.c b/arch/parisc/kernel/perf.c index 6eabce62463b..e282a5131d77 100644 --- a/arch/parisc/kernel/perf.c +++ b/arch/parisc/kernel/perf.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/miscdevice.h> | 48 | #include <linux/miscdevice.h> |
49 | #include <linux/spinlock.h> | 49 | #include <linux/spinlock.h> |
50 | 50 | ||
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <asm/perf.h> | 52 | #include <asm/perf.h> |
53 | #include <asm/parisc-device.h> | 53 | #include <asm/parisc-device.h> |
54 | #include <asm/processor.h> | 54 | #include <asm/processor.h> |
diff --git a/arch/parisc/kernel/ptrace.c b/arch/parisc/kernel/ptrace.c index e02d7b4d2b69..f8b6959d2d97 100644 --- a/arch/parisc/kernel/ptrace.c +++ b/arch/parisc/kernel/ptrace.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/signal.h> | 24 | #include <linux/signal.h> |
25 | #include <linux/audit.h> | 25 | #include <linux/audit.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/pgtable.h> | 28 | #include <asm/pgtable.h> |
29 | #include <asm/processor.h> | 29 | #include <asm/processor.h> |
30 | #include <asm/asm-offsets.h> | 30 | #include <asm/asm-offsets.h> |
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 2264f68f3c2f..e58925ac64d1 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/elf.h> | 27 | #include <linux/elf.h> |
28 | #include <asm/ucontext.h> | 28 | #include <asm/ucontext.h> |
29 | #include <asm/rt_sigframe.h> | 29 | #include <asm/rt_sigframe.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/pgalloc.h> | 31 | #include <asm/pgalloc.h> |
32 | #include <asm/cacheflush.h> | 32 | #include <asm/cacheflush.h> |
33 | #include <asm/asm-offsets.h> | 33 | #include <asm/asm-offsets.h> |
diff --git a/arch/parisc/kernel/signal32.c b/arch/parisc/kernel/signal32.c index c342b2e17492..70aaabb8b3cb 100644 --- a/arch/parisc/kernel/signal32.c +++ b/arch/parisc/kernel/signal32.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/types.h> | 31 | #include <linux/types.h> |
32 | #include <linux/errno.h> | 32 | #include <linux/errno.h> |
33 | 33 | ||
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include "signal32.h" | 36 | #include "signal32.h" |
37 | 37 | ||
diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c index a81e177cac7b..bf3294171230 100644 --- a/arch/parisc/kernel/sys_parisc.c +++ b/arch/parisc/kernel/sys_parisc.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/elf.h> | 27 | #include <asm/elf.h> |
28 | #include <linux/file.h> | 28 | #include <linux/file.h> |
29 | #include <linux/fs.h> | 29 | #include <linux/fs.h> |
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 4215f5596c8b..037d81f00520 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | #include <linux/ftrace.h> | 29 | #include <linux/ftrace.h> |
30 | 30 | ||
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/page.h> | 34 | #include <asm/page.h> |
diff --git a/arch/parisc/kernel/unaligned.c b/arch/parisc/kernel/unaligned.c index 2b65c0177778..0a21067ac0a3 100644 --- a/arch/parisc/kernel/unaligned.c +++ b/arch/parisc/kernel/unaligned.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | #include <linux/signal.h> | 27 | #include <linux/signal.h> |
28 | #include <linux/ratelimit.h> | 28 | #include <linux/ratelimit.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/hardirq.h> | 30 | #include <asm/hardirq.h> |
31 | #include <asm/traps.h> | 31 | #include <asm/traps.h> |
32 | 32 | ||
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index e278a87f43cc..1b73690477c5 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kallsyms.h> | 15 | #include <linux/kallsyms.h> |
16 | #include <linux/sort.h> | 16 | #include <linux/sort.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/assembly.h> | 19 | #include <asm/assembly.h> |
20 | #include <asm/asm-offsets.h> | 20 | #include <asm/asm-offsets.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
diff --git a/arch/parisc/lib/checksum.c b/arch/parisc/lib/checksum.c index ae66d31f9ecf..ba6384da6ade 100644 --- a/arch/parisc/lib/checksum.c +++ b/arch/parisc/lib/checksum.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <net/checksum.h> | 20 | #include <net/checksum.h> |
21 | #include <asm/byteorder.h> | 21 | #include <asm/byteorder.h> |
22 | #include <asm/string.h> | 22 | #include <asm/string.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #define addc(_t,_r) \ | 25 | #define addc(_t,_r) \ |
26 | __asm__ __volatile__ ( \ | 26 | __asm__ __volatile__ ( \ |
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h index 81592562e0f8..ba47c70712f9 100644 --- a/arch/powerpc/include/asm/asm-prototypes.h +++ b/arch/powerpc/include/asm/asm-prototypes.h | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/threads.h> | 15 | #include <linux/threads.h> |
16 | #include <asm/cacheflush.h> | 16 | #include <asm/cacheflush.h> |
17 | #include <asm/checksum.h> | 17 | #include <asm/checksum.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/epapr_hcalls.h> | 19 | #include <asm/epapr_hcalls.h> |
20 | 20 | ||
21 | #include <uapi/asm/ucontext.h> | 21 | #include <uapi/asm/ucontext.h> |
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c index 033f3385fa49..8d58c61908f7 100644 --- a/arch/powerpc/kernel/align.c +++ b/arch/powerpc/kernel/align.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <asm/processor.h> | 22 | #include <asm/processor.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/cache.h> | 24 | #include <asm/cache.h> |
25 | #include <asm/cputable.h> | 25 | #include <asm/cputable.h> |
26 | #include <asm/emulated_ops.h> | 26 | #include <asm/emulated_ops.h> |
diff --git a/arch/powerpc/kernel/crash_dump.c b/arch/powerpc/kernel/crash_dump.c index cfa0f81a5bb0..d10ad258d41a 100644 --- a/arch/powerpc/kernel/crash_dump.c +++ b/arch/powerpc/kernel/crash_dump.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/kdump.h> | 18 | #include <asm/kdump.h> |
19 | #include <asm/prom.h> | 19 | #include <asm/prom.h> |
20 | #include <asm/firmware.h> | 20 | #include <asm/firmware.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/rtas.h> | 22 | #include <asm/rtas.h> |
23 | 23 | ||
24 | #ifdef DEBUG | 24 | #ifdef DEBUG |
diff --git a/arch/powerpc/kernel/hw_breakpoint.c b/arch/powerpc/kernel/hw_breakpoint.c index 03d089b3ed72..4d3aa05e28be 100644 --- a/arch/powerpc/kernel/hw_breakpoint.c +++ b/arch/powerpc/kernel/hw_breakpoint.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/hw_breakpoint.h> | 33 | #include <asm/hw_breakpoint.h> |
34 | #include <asm/processor.h> | 34 | #include <asm/processor.h> |
35 | #include <asm/sstep.h> | 35 | #include <asm/sstep.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Stores the breakpoints currently in use on each breakpoint address | 39 | * Stores the breakpoints currently in use on each breakpoint address |
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 3c05c311e35e..a018f5cae899 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/of.h> | 55 | #include <linux/of.h> |
56 | #include <linux/of_irq.h> | 56 | #include <linux/of_irq.h> |
57 | 57 | ||
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | #include <asm/io.h> | 59 | #include <asm/io.h> |
60 | #include <asm/pgtable.h> | 60 | #include <asm/pgtable.h> |
61 | #include <asm/irq.h> | 61 | #include <asm/irq.h> |
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c index ad108b842669..735ff3d3f77d 100644 --- a/arch/powerpc/kernel/kprobes.c +++ b/arch/powerpc/kernel/kprobes.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/code-patching.h> | 35 | #include <asm/code-patching.h> |
36 | #include <asm/cacheflush.h> | 36 | #include <asm/cacheflush.h> |
37 | #include <asm/sstep.h> | 37 | #include <asm/sstep.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL; | 40 | DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL; |
41 | DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); | 41 | DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); |
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c index 30b89d5cbb03..3f7ba0f5bf29 100644 --- a/arch/powerpc/kernel/module.c +++ b/arch/powerpc/kernel/module.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/vmalloc.h> | 22 | #include <linux/vmalloc.h> |
23 | #include <linux/bug.h> | 23 | #include <linux/bug.h> |
24 | #include <asm/module.h> | 24 | #include <asm/module.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/firmware.h> | 26 | #include <asm/firmware.h> |
27 | #include <linux/sort.h> | 27 | #include <linux/sort.h> |
28 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c index 34d2c595de23..d5e2b8309939 100644 --- a/arch/powerpc/kernel/nvram_64.c +++ b/arch/powerpc/kernel/nvram_64.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/pagemap.h> | 28 | #include <linux/pagemap.h> |
29 | #include <linux/pstore.h> | 29 | #include <linux/pstore.h> |
30 | #include <linux/zlib.h> | 30 | #include <linux/zlib.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/nvram.h> | 32 | #include <asm/nvram.h> |
33 | #include <asm/rtas.h> | 33 | #include <asm/rtas.h> |
34 | #include <asm/prom.h> | 34 | #include <asm/prom.h> |
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index 678f87a63645..41c86c6b6e4d 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/pci-bridge.h> | 24 | #include <asm/pci-bridge.h> |
25 | #include <asm/ppc-pci.h> | 25 | #include <asm/ppc-pci.h> |
26 | #include <asm/byteorder.h> | 26 | #include <asm/byteorder.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/machdep.h> | 28 | #include <asm/machdep.h> |
29 | 29 | ||
30 | #undef DEBUG | 30 | #undef DEBUG |
diff --git a/arch/powerpc/kernel/proc_powerpc.c b/arch/powerpc/kernel/proc_powerpc.c index c30612aad68e..56548bf6231f 100644 --- a/arch/powerpc/kernel/proc_powerpc.c +++ b/arch/powerpc/kernel/proc_powerpc.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/machdep.h> | 24 | #include <asm/machdep.h> |
25 | #include <asm/vdso_datapage.h> | 25 | #include <asm/vdso_datapage.h> |
26 | #include <asm/rtas.h> | 26 | #include <asm/rtas.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/prom.h> | 28 | #include <asm/prom.h> |
29 | 29 | ||
30 | #ifdef CONFIG_PPC64 | 30 | #ifdef CONFIG_PPC64 |
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index b1ec62f2cc31..e4744ff38a17 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/perf_event.h> | 34 | #include <linux/perf_event.h> |
35 | #include <linux/context_tracking.h> | 35 | #include <linux/context_tracking.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/page.h> | 38 | #include <asm/page.h> |
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
40 | #include <asm/switch_to.h> | 40 | #include <asm/switch_to.h> |
diff --git a/arch/powerpc/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c index 1e887f3a61a6..f37eb53de1a1 100644 --- a/arch/powerpc/kernel/ptrace32.c +++ b/arch/powerpc/kernel/ptrace32.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/signal.h> | 29 | #include <linux/signal.h> |
30 | #include <linux/compat.h> | 30 | #include <linux/compat.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/page.h> | 33 | #include <asm/page.h> |
34 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
35 | #include <asm/switch_to.h> | 35 | #include <asm/switch_to.h> |
diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c index c82eed97bd22..df56dfc4b681 100644 --- a/arch/powerpc/kernel/rtas-proc.c +++ b/arch/powerpc/kernel/rtas-proc.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/bitops.h> | 24 | #include <linux/bitops.h> |
25 | #include <linux/rtc.h> | 25 | #include <linux/rtc.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/processor.h> | 28 | #include <asm/processor.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/prom.h> | 30 | #include <asm/prom.h> |
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 6a3e5de544ce..112cc3b2ee1a 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/page.h> | 35 | #include <asm/page.h> |
36 | #include <asm/param.h> | 36 | #include <asm/param.h> |
37 | #include <asm/delay.h> | 37 | #include <asm/delay.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/udbg.h> | 39 | #include <asm/udbg.h> |
40 | #include <asm/syscalls.h> | 40 | #include <asm/syscalls.h> |
41 | #include <asm/smp.h> | 41 | #include <asm/smp.h> |
diff --git a/arch/powerpc/kernel/rtas_flash.c b/arch/powerpc/kernel/rtas_flash.c index db2b482af658..f6f6a8a5103a 100644 --- a/arch/powerpc/kernel/rtas_flash.c +++ b/arch/powerpc/kernel/rtas_flash.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/proc_fs.h> | 19 | #include <linux/proc_fs.h> |
20 | #include <linux/reboot.h> | 20 | #include <linux/reboot.h> |
21 | #include <asm/delay.h> | 21 | #include <asm/delay.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/rtas.h> | 23 | #include <asm/rtas.h> |
24 | 24 | ||
25 | #define MODULE_VERS "1.0" | 25 | #define MODULE_VERS "1.0" |
diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c index a26a02006576..2bf1f9b5b34b 100644 --- a/arch/powerpc/kernel/rtasd.c +++ b/arch/powerpc/kernel/rtasd.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/workqueue.h> | 22 | #include <linux/workqueue.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/rtas.h> | 27 | #include <asm/rtas.h> |
28 | #include <asm/prom.h> | 28 | #include <asm/prom.h> |
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 5fe79182f0fa..7fcf1f7f01c1 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/bootx.h> | 29 | #include <asm/bootx.h> |
30 | #include <asm/btext.h> | 30 | #include <asm/btext.h> |
31 | #include <asm/machdep.h> | 31 | #include <asm/machdep.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/pmac_feature.h> | 33 | #include <asm/pmac_feature.h> |
34 | #include <asm/sections.h> | 34 | #include <asm/sections.h> |
35 | #include <asm/nvram.h> | 35 | #include <asm/nvram.h> |
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index bbe77aed198d..3a3671172436 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/key.h> | 15 | #include <linux/key.h> |
16 | #include <linux/context_tracking.h> | 16 | #include <linux/context_tracking.h> |
17 | #include <asm/hw_breakpoint.h> | 17 | #include <asm/hw_breakpoint.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/unistd.h> | 19 | #include <asm/unistd.h> |
20 | #include <asm/debug.h> | 20 | #include <asm/debug.h> |
21 | #include <asm/tm.h> | 21 | #include <asm/tm.h> |
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 27aa913ac91d..97bb1385e771 100644 --- a/arch/powerpc/kernel/signal_32.c +++ b/arch/powerpc/kernel/signal_32.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/binfmts.h> | 37 | #include <linux/binfmts.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/cacheflush.h> | 41 | #include <asm/cacheflush.h> |
42 | #include <asm/syscalls.h> | 42 | #include <asm/syscalls.h> |
43 | #include <asm/sigcontext.h> | 43 | #include <asm/sigcontext.h> |
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c index 96698fdf93b4..c83c115858c1 100644 --- a/arch/powerpc/kernel/signal_64.c +++ b/arch/powerpc/kernel/signal_64.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #include <asm/sigcontext.h> | 28 | #include <asm/sigcontext.h> |
29 | #include <asm/ucontext.h> | 29 | #include <asm/ucontext.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/pgtable.h> | 31 | #include <asm/pgtable.h> |
32 | #include <asm/unistd.h> | 32 | #include <asm/unistd.h> |
33 | #include <asm/cacheflush.h> | 33 | #include <asm/cacheflush.h> |
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index 8a285876aef8..15f216d022e2 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | #include <asm/ptrace.h> | 45 | #include <asm/ptrace.h> |
46 | #include <asm/types.h> | 46 | #include <asm/types.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | #include <asm/unistd.h> | 48 | #include <asm/unistd.h> |
49 | #include <asm/time.h> | 49 | #include <asm/time.h> |
50 | #include <asm/mmu_context.h> | 50 | #include <asm/mmu_context.h> |
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c index 644cce3d8dce..de04c9fbb5cd 100644 --- a/arch/powerpc/kernel/syscalls.c +++ b/arch/powerpc/kernel/syscalls.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/file.h> | 36 | #include <linux/file.h> |
37 | #include <linux/personality.h> | 37 | #include <linux/personality.h> |
38 | 38 | ||
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/syscalls.h> | 40 | #include <asm/syscalls.h> |
41 | #include <asm/time.h> | 41 | #include <asm/time.h> |
42 | #include <asm/unistd.h> | 42 | #include <asm/unistd.h> |
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index be9751f1cb2a..19397e2a8bf5 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <asm/nvram.h> | 64 | #include <asm/nvram.h> |
65 | #include <asm/cache.h> | 65 | #include <asm/cache.h> |
66 | #include <asm/machdep.h> | 66 | #include <asm/machdep.h> |
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <asm/time.h> | 68 | #include <asm/time.h> |
69 | #include <asm/prom.h> | 69 | #include <asm/prom.h> |
70 | #include <asm/irq.h> | 70 | #include <asm/irq.h> |
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 4239aaf74886..e6cc56b61d01 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | #include <asm/emulated_ops.h> | 41 | #include <asm/emulated_ops.h> |
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | #include <asm/machdep.h> | 45 | #include <asm/machdep.h> |
46 | #include <asm/rtas.h> | 46 | #include <asm/rtas.h> |
diff --git a/arch/powerpc/kernel/vecemu.c b/arch/powerpc/kernel/vecemu.c index c4bfadb2606b..2d8f6d8ccafc 100644 --- a/arch/powerpc/kernel/vecemu.c +++ b/arch/powerpc/kernel/vecemu.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <asm/ptrace.h> | 8 | #include <asm/ptrace.h> |
9 | #include <asm/processor.h> | 9 | #include <asm/processor.h> |
10 | #include <asm/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | 11 | ||
12 | /* Functions in vector.S */ | 12 | /* Functions in vector.S */ |
13 | extern void vaddfp(vector128 *dst, vector128 *a, vector128 *b); | 13 | extern void vaddfp(vector128 *dst, vector128 *a, vector128 *b); |
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index b6952dd23152..019f008775b9 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/cputable.h> | 25 | #include <asm/cputable.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | #include <asm/tlbflush.h> | 27 | #include <asm/tlbflush.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/kvm_ppc.h> | 30 | #include <asm/kvm_ppc.h> |
31 | #include <asm/kvm_book3s.h> | 31 | #include <asm/kvm_book3s.h> |
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 8dcbe37a4dac..66b2a35be424 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <asm/cputable.h> | 39 | #include <asm/cputable.h> |
40 | #include <asm/cacheflush.h> | 40 | #include <asm/cacheflush.h> |
41 | #include <asm/tlbflush.h> | 41 | #include <asm/tlbflush.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <asm/io.h> | 43 | #include <asm/io.h> |
44 | #include <asm/kvm_ppc.h> | 44 | #include <asm/kvm_ppc.h> |
45 | #include <asm/kvm_book3s.h> | 45 | #include <asm/kvm_book3s.h> |
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index 826c541a12af..1482961ceb4d 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <asm/cputable.h> | 28 | #include <asm/cputable.h> |
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/tlbflush.h> | 30 | #include <asm/tlbflush.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/kvm_ppc.h> | 33 | #include <asm/kvm_ppc.h> |
34 | #include <asm/kvm_book3s.h> | 34 | #include <asm/kvm_book3s.h> |
diff --git a/arch/powerpc/kvm/book3s_pr_papr.c b/arch/powerpc/kvm/book3s_pr_papr.c index 02176fd52f84..f102616febc7 100644 --- a/arch/powerpc/kvm/book3s_pr_papr.c +++ b/arch/powerpc/kvm/book3s_pr_papr.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <linux/anon_inodes.h> | 18 | #include <linux/anon_inodes.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/kvm_ppc.h> | 21 | #include <asm/kvm_ppc.h> |
22 | #include <asm/kvm_book3s.h> | 22 | #include <asm/kvm_book3s.h> |
23 | 23 | ||
diff --git a/arch/powerpc/kvm/book3s_rtas.c b/arch/powerpc/kvm/book3s_rtas.c index ef27fbd5d9c5..20528701835b 100644 --- a/arch/powerpc/kvm/book3s_rtas.c +++ b/arch/powerpc/kvm/book3s_rtas.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/kvm.h> | 11 | #include <linux/kvm.h> |
12 | #include <linux/err.h> | 12 | #include <linux/err.h> |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/kvm_book3s.h> | 15 | #include <asm/kvm_book3s.h> |
16 | #include <asm/kvm_ppc.h> | 16 | #include <asm/kvm_ppc.h> |
17 | #include <asm/hvcall.h> | 17 | #include <asm/hvcall.h> |
diff --git a/arch/powerpc/kvm/book3s_xics.c b/arch/powerpc/kvm/book3s_xics.c index 3bdc639157c1..20dff102a06f 100644 --- a/arch/powerpc/kvm/book3s_xics.c +++ b/arch/powerpc/kvm/book3s_xics.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/anon_inodes.h> | 14 | #include <linux/anon_inodes.h> |
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/kvm_book3s.h> | 18 | #include <asm/kvm_book3s.h> |
19 | #include <asm/kvm_ppc.h> | 19 | #include <asm/kvm_ppc.h> |
20 | #include <asm/hvcall.h> | 20 | #include <asm/hvcall.h> |
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index df3f2706d3e5..0514cbd4e533 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/fs.h> | 30 | #include <linux/fs.h> |
31 | 31 | ||
32 | #include <asm/cputable.h> | 32 | #include <asm/cputable.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/kvm_ppc.h> | 34 | #include <asm/kvm_ppc.h> |
35 | #include <asm/cacheflush.h> | 35 | #include <asm/cacheflush.h> |
36 | #include <asm/dbell.h> | 36 | #include <asm/dbell.h> |
diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c index ed38f8114118..fe312c160d97 100644 --- a/arch/powerpc/kvm/mpic.c +++ b/arch/powerpc/kvm/mpic.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/errno.h> | 29 | #include <linux/errno.h> |
30 | #include <linux/fs.h> | 30 | #include <linux/fs.h> |
31 | #include <linux/anon_inodes.h> | 31 | #include <linux/anon_inodes.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/mpic.h> | 33 | #include <asm/mpic.h> |
34 | #include <asm/kvm_para.h> | 34 | #include <asm/kvm_para.h> |
35 | #include <asm/kvm_host.h> | 35 | #include <asm/kvm_host.h> |
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index efd1183a6b16..cd892dec7cb6 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/irqbypass.h> | 30 | #include <linux/irqbypass.h> |
31 | #include <linux/kvm_irqfd.h> | 31 | #include <linux/kvm_irqfd.h> |
32 | #include <asm/cputable.h> | 32 | #include <asm/cputable.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/kvm_ppc.h> | 34 | #include <asm/kvm_ppc.h> |
35 | #include <asm/tlbflush.h> | 35 | #include <asm/tlbflush.h> |
36 | #include <asm/cputhreads.h> | 36 | #include <asm/cputhreads.h> |
diff --git a/arch/powerpc/lib/checksum_wrappers.c b/arch/powerpc/lib/checksum_wrappers.c index 08e3a3356c40..a0cb63fb76a1 100644 --- a/arch/powerpc/lib/checksum_wrappers.c +++ b/arch/powerpc/lib/checksum_wrappers.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/compiler.h> | 21 | #include <linux/compiler.h> |
22 | #include <linux/types.h> | 22 | #include <linux/types.h> |
23 | #include <asm/checksum.h> | 23 | #include <asm/checksum.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | __wsum csum_and_copy_from_user(const void __user *src, void *dst, | 26 | __wsum csum_and_copy_from_user(const void __user *src, void *dst, |
27 | int len, __wsum sum, int *err_ptr) | 27 | int len, __wsum sum, int *err_ptr) |
diff --git a/arch/powerpc/lib/code-patching.c b/arch/powerpc/lib/code-patching.c index d5edbeb8eb82..c1746df0f88e 100644 --- a/arch/powerpc/lib/code-patching.c +++ b/arch/powerpc/lib/code-patching.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <asm/page.h> | 14 | #include <asm/page.h> |
15 | #include <asm/code-patching.h> | 15 | #include <asm/code-patching.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | 18 | ||
19 | int patch_instruction(unsigned int *addr, unsigned int instr) | 19 | int patch_instruction(unsigned int *addr, unsigned int instr) |
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index 9c78a9c102c3..06c7e9b88408 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/prefetch.h> | 14 | #include <linux/prefetch.h> |
15 | #include <asm/sstep.h> | 15 | #include <asm/sstep.h> |
16 | #include <asm/processor.h> | 16 | #include <asm/processor.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/cpu_has_feature.h> | 18 | #include <asm/cpu_has_feature.h> |
19 | #include <asm/cputable.h> | 19 | #include <asm/cputable.h> |
20 | 20 | ||
diff --git a/arch/powerpc/lib/usercopy_64.c b/arch/powerpc/lib/usercopy_64.c index 5eea6f3c1e03..9bd3a3dad78d 100644 --- a/arch/powerpc/lib/usercopy_64.c +++ b/arch/powerpc/lib/usercopy_64.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * 2 of the License, or (at your option) any later version. | 7 | * 2 of the License, or (at your option) any later version. |
8 | */ | 8 | */ |
9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
10 | #include <asm/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | 11 | ||
12 | unsigned long copy_from_user(void *to, const void __user *from, unsigned long n) | 12 | unsigned long copy_from_user(void *to, const void __user *from, unsigned long n) |
13 | { | 13 | { |
diff --git a/arch/powerpc/math-emu/fabs.c b/arch/powerpc/math-emu/fabs.c index 549baba5948f..a5e7ad1384ee 100644 --- a/arch/powerpc/math-emu/fabs.c +++ b/arch/powerpc/math-emu/fabs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | fabs(u32 *frD, u32 *frB) | 6 | fabs(u32 *frD, u32 *frB) |
diff --git a/arch/powerpc/math-emu/fadd.c b/arch/powerpc/math-emu/fadd.c index 0158a16e2b82..29de37e0e0da 100644 --- a/arch/powerpc/math-emu/fadd.c +++ b/arch/powerpc/math-emu/fadd.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fadds.c b/arch/powerpc/math-emu/fadds.c index 5930f40a8687..7093c5b58002 100644 --- a/arch/powerpc/math-emu/fadds.c +++ b/arch/powerpc/math-emu/fadds.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fcmpo.c b/arch/powerpc/math-emu/fcmpo.c index 5bce011c2aec..5d644467221c 100644 --- a/arch/powerpc/math-emu/fcmpo.c +++ b/arch/powerpc/math-emu/fcmpo.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fcmpu.c b/arch/powerpc/math-emu/fcmpu.c index d4fb1babc6ad..0f9bf4864832 100644 --- a/arch/powerpc/math-emu/fcmpu.c +++ b/arch/powerpc/math-emu/fcmpu.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fctiw.c b/arch/powerpc/math-emu/fctiw.c index f694440ddc00..716d6da7f204 100644 --- a/arch/powerpc/math-emu/fctiw.c +++ b/arch/powerpc/math-emu/fctiw.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fctiwz.c b/arch/powerpc/math-emu/fctiwz.c index 71e782fd4fe3..7212fa7cfd36 100644 --- a/arch/powerpc/math-emu/fctiwz.c +++ b/arch/powerpc/math-emu/fctiwz.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fdiv.c b/arch/powerpc/math-emu/fdiv.c index a29239c05e3e..e1e452069e49 100644 --- a/arch/powerpc/math-emu/fdiv.c +++ b/arch/powerpc/math-emu/fdiv.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fdivs.c b/arch/powerpc/math-emu/fdivs.c index 526bc261275f..5511e2d1c3ad 100644 --- a/arch/powerpc/math-emu/fdivs.c +++ b/arch/powerpc/math-emu/fdivs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmadd.c b/arch/powerpc/math-emu/fmadd.c index 8c3f20aa5a95..2b6fae0bc8c2 100644 --- a/arch/powerpc/math-emu/fmadd.c +++ b/arch/powerpc/math-emu/fmadd.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmadds.c b/arch/powerpc/math-emu/fmadds.c index 794fb31e59d1..aff35f24a236 100644 --- a/arch/powerpc/math-emu/fmadds.c +++ b/arch/powerpc/math-emu/fmadds.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmr.c b/arch/powerpc/math-emu/fmr.c index bd55384b8196..f6347911f6a3 100644 --- a/arch/powerpc/math-emu/fmr.c +++ b/arch/powerpc/math-emu/fmr.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | fmr(u32 *frD, u32 *frB) | 6 | fmr(u32 *frD, u32 *frB) |
diff --git a/arch/powerpc/math-emu/fmsub.c b/arch/powerpc/math-emu/fmsub.c index 626f6fed84ac..1fb26cebe04e 100644 --- a/arch/powerpc/math-emu/fmsub.c +++ b/arch/powerpc/math-emu/fmsub.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmsubs.c b/arch/powerpc/math-emu/fmsubs.c index 3425bc899760..f73965453e05 100644 --- a/arch/powerpc/math-emu/fmsubs.c +++ b/arch/powerpc/math-emu/fmsubs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmul.c b/arch/powerpc/math-emu/fmul.c index 2c1929779892..ffd31b549290 100644 --- a/arch/powerpc/math-emu/fmul.c +++ b/arch/powerpc/math-emu/fmul.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fmuls.c b/arch/powerpc/math-emu/fmuls.c index f5ad5c9c77d0..21aee431ca9d 100644 --- a/arch/powerpc/math-emu/fmuls.c +++ b/arch/powerpc/math-emu/fmuls.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fnabs.c b/arch/powerpc/math-emu/fnabs.c index a7d34f3d9499..af877a53d264 100644 --- a/arch/powerpc/math-emu/fnabs.c +++ b/arch/powerpc/math-emu/fnabs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | fnabs(u32 *frD, u32 *frB) | 6 | fnabs(u32 *frD, u32 *frB) |
diff --git a/arch/powerpc/math-emu/fneg.c b/arch/powerpc/math-emu/fneg.c index 1e988cd9c6cc..8417d174758c 100644 --- a/arch/powerpc/math-emu/fneg.c +++ b/arch/powerpc/math-emu/fneg.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | fneg(u32 *frD, u32 *frB) | 6 | fneg(u32 *frD, u32 *frB) |
diff --git a/arch/powerpc/math-emu/fnmadd.c b/arch/powerpc/math-emu/fnmadd.c index e817bc5453ef..6316ef0e0874 100644 --- a/arch/powerpc/math-emu/fnmadd.c +++ b/arch/powerpc/math-emu/fnmadd.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fnmadds.c b/arch/powerpc/math-emu/fnmadds.c index 4db4b7d9ba8d..9ffe037df2b9 100644 --- a/arch/powerpc/math-emu/fnmadds.c +++ b/arch/powerpc/math-emu/fnmadds.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fnmsub.c b/arch/powerpc/math-emu/fnmsub.c index f65979fa770e..f97a9cfb54ea 100644 --- a/arch/powerpc/math-emu/fnmsub.c +++ b/arch/powerpc/math-emu/fnmsub.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fnmsubs.c b/arch/powerpc/math-emu/fnmsubs.c index 9021dacc03b8..7fa1217bd930 100644 --- a/arch/powerpc/math-emu/fnmsubs.c +++ b/arch/powerpc/math-emu/fnmsubs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fre.c b/arch/powerpc/math-emu/fre.c index 49ccf2cc6a5a..b621a790aa67 100644 --- a/arch/powerpc/math-emu/fre.c +++ b/arch/powerpc/math-emu/fre.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int fre(void *frD, void *frB) | 5 | int fre(void *frD, void *frB) |
6 | { | 6 | { |
diff --git a/arch/powerpc/math-emu/fres.c b/arch/powerpc/math-emu/fres.c index 10ecbd08b79e..211c30d0145f 100644 --- a/arch/powerpc/math-emu/fres.c +++ b/arch/powerpc/math-emu/fres.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | fres(void *frD, void *frB) | 6 | fres(void *frD, void *frB) |
diff --git a/arch/powerpc/math-emu/frsp.c b/arch/powerpc/math-emu/frsp.c index ddcc14664b1a..3e3bc73e27ae 100644 --- a/arch/powerpc/math-emu/frsp.c +++ b/arch/powerpc/math-emu/frsp.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/frsqrte.c b/arch/powerpc/math-emu/frsqrte.c index 1d0a3a0fd0e6..7c2ce43750dc 100644 --- a/arch/powerpc/math-emu/frsqrte.c +++ b/arch/powerpc/math-emu/frsqrte.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | frsqrte(void *frD, void *frB) | 6 | frsqrte(void *frD, void *frB) |
diff --git a/arch/powerpc/math-emu/frsqrtes.c b/arch/powerpc/math-emu/frsqrtes.c index 7e838e380314..269951a8c650 100644 --- a/arch/powerpc/math-emu/frsqrtes.c +++ b/arch/powerpc/math-emu/frsqrtes.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int frsqrtes(void *frD, void *frB) | 5 | int frsqrtes(void *frD, void *frB) |
6 | { | 6 | { |
diff --git a/arch/powerpc/math-emu/fsel.c b/arch/powerpc/math-emu/fsel.c index 1b0c14498032..32b62c6c7f48 100644 --- a/arch/powerpc/math-emu/fsel.c +++ b/arch/powerpc/math-emu/fsel.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fsqrt.c b/arch/powerpc/math-emu/fsqrt.c index a55fc7d49983..0e2a34b616dc 100644 --- a/arch/powerpc/math-emu/fsqrt.c +++ b/arch/powerpc/math-emu/fsqrt.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fsqrts.c b/arch/powerpc/math-emu/fsqrts.c index 31dccbfc39ff..420cf19b5fd4 100644 --- a/arch/powerpc/math-emu/fsqrts.c +++ b/arch/powerpc/math-emu/fsqrts.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fsub.c b/arch/powerpc/math-emu/fsub.c index 02c5dff458ba..feedd705cf62 100644 --- a/arch/powerpc/math-emu/fsub.c +++ b/arch/powerpc/math-emu/fsub.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/fsubs.c b/arch/powerpc/math-emu/fsubs.c index 5d9b18c35e07..74190514063e 100644 --- a/arch/powerpc/math-emu/fsubs.c +++ b/arch/powerpc/math-emu/fsubs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/lfd.c b/arch/powerpc/math-emu/lfd.c index 79ac76d596c3..d998a50740a0 100644 --- a/arch/powerpc/math-emu/lfd.c +++ b/arch/powerpc/math-emu/lfd.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/double.h> | 6 | #include <math-emu/double.h> |
diff --git a/arch/powerpc/math-emu/lfs.c b/arch/powerpc/math-emu/lfs.c index 434ed27be8db..1ee10b83d7e3 100644 --- a/arch/powerpc/math-emu/lfs.c +++ b/arch/powerpc/math-emu/lfs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/math.c b/arch/powerpc/math-emu/math.c index ab151f040502..76ee2e5dba65 100644 --- a/arch/powerpc/math-emu/math.c +++ b/arch/powerpc/math-emu/math.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
6 | #include <linux/sched.h> | 6 | #include <linux/sched.h> |
7 | 7 | ||
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | #include <asm/reg.h> | 9 | #include <asm/reg.h> |
10 | #include <asm/switch_to.h> | 10 | #include <asm/switch_to.h> |
11 | 11 | ||
diff --git a/arch/powerpc/math-emu/math_efp.c b/arch/powerpc/math-emu/math_efp.c index 28337c9709ae..581f404caa1d 100644 --- a/arch/powerpc/math-emu/math_efp.c +++ b/arch/powerpc/math-emu/math_efp.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/types.h> | 22 | #include <linux/types.h> |
23 | #include <linux/prctl.h> | 23 | #include <linux/prctl.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/reg.h> | 26 | #include <asm/reg.h> |
27 | 27 | ||
28 | #define FP_EX_BOOKE_E500_SPE | 28 | #define FP_EX_BOOKE_E500_SPE |
diff --git a/arch/powerpc/math-emu/mcrfs.c b/arch/powerpc/math-emu/mcrfs.c index e948d5708e2b..8e8e72397ebc 100644 --- a/arch/powerpc/math-emu/mcrfs.c +++ b/arch/powerpc/math-emu/mcrfs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/mffs.c b/arch/powerpc/math-emu/mffs.c index 5526cf96ede5..e00fdc22a0bc 100644 --- a/arch/powerpc/math-emu/mffs.c +++ b/arch/powerpc/math-emu/mffs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/mtfsb0.c b/arch/powerpc/math-emu/mtfsb0.c index bc985585bca8..5ed3e7d5063e 100644 --- a/arch/powerpc/math-emu/mtfsb0.c +++ b/arch/powerpc/math-emu/mtfsb0.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/mtfsb1.c b/arch/powerpc/math-emu/mtfsb1.c index fe6ed5ac85b3..602aa16eda81 100644 --- a/arch/powerpc/math-emu/mtfsb1.c +++ b/arch/powerpc/math-emu/mtfsb1.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/mtfsf.c b/arch/powerpc/math-emu/mtfsf.c index 44b0fc8214f4..b0d5593ad357 100644 --- a/arch/powerpc/math-emu/mtfsf.c +++ b/arch/powerpc/math-emu/mtfsf.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/mtfsfi.c b/arch/powerpc/math-emu/mtfsfi.c index fd2acc26813b..5df30541a784 100644 --- a/arch/powerpc/math-emu/mtfsfi.c +++ b/arch/powerpc/math-emu/mtfsfi.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/math-emu/stfd.c b/arch/powerpc/math-emu/stfd.c index 33a165c8df0f..6baeaec134a2 100644 --- a/arch/powerpc/math-emu/stfd.c +++ b/arch/powerpc/math-emu/stfd.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | stfd(void *frS, void *ea) | 6 | stfd(void *frS, void *ea) |
diff --git a/arch/powerpc/math-emu/stfiwx.c b/arch/powerpc/math-emu/stfiwx.c index f15a35f67e2c..9da7c5d1a872 100644 --- a/arch/powerpc/math-emu/stfiwx.c +++ b/arch/powerpc/math-emu/stfiwx.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | int | 5 | int |
6 | stfiwx(u32 *frS, void *ea) | 6 | stfiwx(u32 *frS, void *ea) |
diff --git a/arch/powerpc/math-emu/stfs.c b/arch/powerpc/math-emu/stfs.c index 6122147356d1..62bd25264fb5 100644 --- a/arch/powerpc/math-emu/stfs.c +++ b/arch/powerpc/math-emu/stfs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/errno.h> | 2 | #include <linux/errno.h> |
3 | #include <asm/uaccess.h> | 3 | #include <linux/uaccess.h> |
4 | 4 | ||
5 | #include <asm/sfp-machine.h> | 5 | #include <asm/sfp-machine.h> |
6 | #include <math-emu/soft-fp.h> | 6 | #include <math-emu/soft-fp.h> |
diff --git a/arch/powerpc/mm/40x_mmu.c b/arch/powerpc/mm/40x_mmu.c index 31a5d42df8c9..61ac468c87c6 100644 --- a/arch/powerpc/mm/40x_mmu.c +++ b/arch/powerpc/mm/40x_mmu.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <asm/mmu_context.h> | 43 | #include <asm/mmu_context.h> |
44 | #include <asm/pgtable.h> | 44 | #include <asm/pgtable.h> |
45 | #include <asm/mmu.h> | 45 | #include <asm/mmu.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <asm/smp.h> | 47 | #include <asm/smp.h> |
48 | #include <asm/bootx.h> | 48 | #include <asm/bootx.h> |
49 | #include <asm/machdep.h> | 49 | #include <asm/machdep.h> |
diff --git a/arch/powerpc/mm/fsl_booke_mmu.c b/arch/powerpc/mm/fsl_booke_mmu.c index 139dec421e57..080d49b26c3a 100644 --- a/arch/powerpc/mm/fsl_booke_mmu.c +++ b/arch/powerpc/mm/fsl_booke_mmu.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <asm/mmu_context.h> | 48 | #include <asm/mmu_context.h> |
49 | #include <asm/pgtable.h> | 49 | #include <asm/pgtable.h> |
50 | #include <asm/mmu.h> | 50 | #include <asm/mmu.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <asm/smp.h> | 52 | #include <asm/smp.h> |
53 | #include <asm/machdep.h> | 53 | #include <asm/machdep.h> |
54 | #include <asm/setup.h> | 54 | #include <asm/setup.h> |
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 8410b4bb36ed..80334937e14f 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <asm/mmu_context.h> | 42 | #include <asm/mmu_context.h> |
43 | #include <asm/page.h> | 43 | #include <asm/page.h> |
44 | #include <asm/types.h> | 44 | #include <asm/types.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/machdep.h> | 46 | #include <asm/machdep.h> |
47 | #include <asm/prom.h> | 47 | #include <asm/prom.h> |
48 | #include <asm/tlbflush.h> | 48 | #include <asm/tlbflush.h> |
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index a000c3585390..93abf8a9813d 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <asm/mmu_context.h> | 51 | #include <asm/mmu_context.h> |
52 | #include <asm/pgtable.h> | 52 | #include <asm/pgtable.h> |
53 | #include <asm/mmu.h> | 53 | #include <asm/mmu.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <asm/smp.h> | 55 | #include <asm/smp.h> |
56 | #include <asm/machdep.h> | 56 | #include <asm/machdep.h> |
57 | #include <asm/tlb.h> | 57 | #include <asm/tlb.h> |
diff --git a/arch/powerpc/mm/subpage-prot.c b/arch/powerpc/mm/subpage-prot.c index d5543514c1df..5c096c01e8bd 100644 --- a/arch/powerpc/mm/subpage-prot.c +++ b/arch/powerpc/mm/subpage-prot.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/hugetlb.h> | 15 | #include <linux/hugetlb.h> |
16 | 16 | ||
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/tlbflush.h> | 19 | #include <asm/tlbflush.h> |
20 | 20 | ||
21 | /* | 21 | /* |
diff --git a/arch/powerpc/platforms/cell/spufs/coredump.c b/arch/powerpc/platforms/cell/spufs/coredump.c index 85c85eb3e245..e5a891ae80ee 100644 --- a/arch/powerpc/platforms/cell/spufs/coredump.c +++ b/arch/powerpc/platforms/cell/spufs/coredump.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/coredump.h> | 30 | #include <linux/coredump.h> |
31 | #include <linux/binfmts.h> | 31 | #include <linux/binfmts.h> |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #include "spufs.h" | 35 | #include "spufs.h" |
36 | 36 | ||
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 3a147122bc98..a35e2c29d7ee 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/time.h> | 35 | #include <asm/time.h> |
36 | #include <asm/spu.h> | 36 | #include <asm/spu.h> |
37 | #include <asm/spu_info.h> | 37 | #include <asm/spu_info.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include "spufs.h" | 40 | #include "spufs.h" |
41 | #include "sputrace.h" | 41 | #include "sputrace.h" |
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index 5364d4a54249..d8af9bc0489f 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <asm/prom.h> | 38 | #include <asm/prom.h> |
39 | #include <asm/spu.h> | 39 | #include <asm/spu.h> |
40 | #include <asm/spu_priv1.h> | 40 | #include <asm/spu_priv1.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include "spufs.h" | 43 | #include "spufs.h" |
44 | 44 | ||
diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c index a87200a535fa..0d290ea83dc1 100644 --- a/arch/powerpc/platforms/cell/spufs/syscalls.c +++ b/arch/powerpc/platforms/cell/spufs/syscalls.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/namei.h> | 5 | #include <linux/namei.h> |
6 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
7 | 7 | ||
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | #include "spufs.h" | 10 | #include "spufs.h" |
11 | 11 | ||
diff --git a/arch/powerpc/platforms/chrp/nvram.c b/arch/powerpc/platforms/chrp/nvram.c index 9ef8cc3378d0..c3ede2c365c3 100644 --- a/arch/powerpc/platforms/chrp/nvram.c +++ b/arch/powerpc/platforms/chrp/nvram.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/prom.h> | 17 | #include <asm/prom.h> |
18 | #include <asm/machdep.h> | 18 | #include <asm/machdep.h> |
19 | #include <asm/rtas.h> | 19 | #include <asm/rtas.h> |
diff --git a/arch/powerpc/platforms/powernv/opal-elog.c b/arch/powerpc/platforms/powernv/opal-elog.c index f2344cbd2f46..ecd6d9177d13 100644 --- a/arch/powerpc/platforms/powernv/opal-elog.c +++ b/arch/powerpc/platforms/powernv/opal-elog.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/vmalloc.h> | 18 | #include <linux/vmalloc.h> |
19 | #include <linux/fcntl.h> | 19 | #include <linux/fcntl.h> |
20 | #include <linux/kobject.h> | 20 | #include <linux/kobject.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/opal.h> | 22 | #include <asm/opal.h> |
23 | 23 | ||
24 | struct elog_obj { | 24 | struct elog_obj { |
diff --git a/arch/powerpc/platforms/powernv/opal-lpc.c b/arch/powerpc/platforms/powernv/opal-lpc.c index e4169d68cb32..4886eb8b6381 100644 --- a/arch/powerpc/platforms/powernv/opal-lpc.c +++ b/arch/powerpc/platforms/powernv/opal-lpc.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/xics.h> | 21 | #include <asm/xics.h> |
22 | #include <asm/opal.h> | 22 | #include <asm/opal.h> |
23 | #include <asm/prom.h> | 23 | #include <asm/prom.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/debug.h> | 25 | #include <asm/debug.h> |
26 | 26 | ||
27 | static int opal_lpc_chip_id = -1; | 27 | static int opal_lpc_chip_id = -1; |
diff --git a/arch/powerpc/platforms/powernv/opal-prd.c b/arch/powerpc/platforms/powernv/opal-prd.c index e315e704cca7..2d6ee1c5ad85 100644 --- a/arch/powerpc/platforms/powernv/opal-prd.c +++ b/arch/powerpc/platforms/powernv/opal-prd.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/opal-prd.h> | 29 | #include <asm/opal-prd.h> |
30 | #include <asm/opal.h> | 30 | #include <asm/opal.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | 34 | ||
35 | /** | 35 | /** |
diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c index 972328829387..4839db385bb0 100644 --- a/arch/powerpc/platforms/pseries/cmm.c +++ b/arch/powerpc/platforms/pseries/cmm.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <asm/hvcall.h> | 37 | #include <asm/hvcall.h> |
38 | #include <asm/mmu.h> | 38 | #include <asm/mmu.h> |
39 | #include <asm/pgalloc.h> | 39 | #include <asm/pgalloc.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <linux/memory.h> | 41 | #include <linux/memory.h> |
42 | #include <asm/plpar_wrappers.h> | 42 | #include <asm/plpar_wrappers.h> |
43 | 43 | ||
diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index 76caa4a45ccd..5cb2e4beffc5 100644 --- a/arch/powerpc/platforms/pseries/dlpar.c +++ b/arch/powerpc/platforms/pseries/dlpar.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/prom.h> | 25 | #include <asm/prom.h> |
26 | #include <asm/machdep.h> | 26 | #include <asm/machdep.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/rtas.h> | 28 | #include <asm/rtas.h> |
29 | 29 | ||
30 | static struct workqueue_struct *pseries_hp_wq; | 30 | static struct workqueue_struct *pseries_hp_wq; |
diff --git a/arch/powerpc/platforms/pseries/dtl.c b/arch/powerpc/platforms/pseries/dtl.c index 39049e4884fb..6b04e3f0f982 100644 --- a/arch/powerpc/platforms/pseries/dtl.c +++ b/arch/powerpc/platforms/pseries/dtl.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/debugfs.h> | 24 | #include <linux/debugfs.h> |
25 | #include <linux/spinlock.h> | 25 | #include <linux/spinlock.h> |
26 | #include <asm/smp.h> | 26 | #include <asm/smp.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/firmware.h> | 28 | #include <asm/firmware.h> |
29 | #include <asm/lppaca.h> | 29 | #include <asm/lppaca.h> |
30 | #include <asm/debug.h> | 30 | #include <asm/debug.h> |
diff --git a/arch/powerpc/platforms/pseries/lparcfg.c b/arch/powerpc/platforms/pseries/lparcfg.c index e6397976060e..779fc2a1c8f7 100644 --- a/arch/powerpc/platforms/pseries/lparcfg.c +++ b/arch/powerpc/platforms/pseries/lparcfg.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/lppaca.h> | 29 | #include <asm/lppaca.h> |
30 | #include <asm/hvcall.h> | 30 | #include <asm/hvcall.h> |
31 | #include <asm/firmware.h> | 31 | #include <asm/firmware.h> |
diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c index 79aef8c1c5b3..69cedc1b3b8a 100644 --- a/arch/powerpc/platforms/pseries/nvram.c +++ b/arch/powerpc/platforms/pseries/nvram.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | #include <linux/ctype.h> | 20 | #include <linux/ctype.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/nvram.h> | 22 | #include <asm/nvram.h> |
23 | #include <asm/rtas.h> | 23 | #include <asm/rtas.h> |
24 | #include <asm/prom.h> | 24 | #include <asm/prom.h> |
diff --git a/arch/powerpc/platforms/pseries/reconfig.c b/arch/powerpc/platforms/pseries/reconfig.c index cc66c49f07aa..e5bf1e84047f 100644 --- a/arch/powerpc/platforms/pseries/reconfig.c +++ b/arch/powerpc/platforms/pseries/reconfig.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <asm/prom.h> | 20 | #include <asm/prom.h> |
21 | #include <asm/machdep.h> | 21 | #include <asm/machdep.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/mmu.h> | 23 | #include <asm/mmu.h> |
24 | 24 | ||
25 | #include "of_helpers.h" | 25 | #include "of_helpers.h" |
diff --git a/arch/powerpc/platforms/pseries/scanlog.c b/arch/powerpc/platforms/pseries/scanlog.c index 7d28cabf1206..c47585a78b69 100644 --- a/arch/powerpc/platforms/pseries/scanlog.c +++ b/arch/powerpc/platforms/pseries/scanlog.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/init.h> | 27 | #include <linux/init.h> |
28 | #include <linux/delay.h> | 28 | #include <linux/delay.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/rtas.h> | 31 | #include <asm/rtas.h> |
32 | #include <asm/prom.h> | 32 | #include <asm/prom.h> |
33 | 33 | ||
diff --git a/arch/powerpc/sysdev/scom.c b/arch/powerpc/sysdev/scom.c index 6f5a8d177c42..d0e9f178a324 100644 --- a/arch/powerpc/sysdev/scom.c +++ b/arch/powerpc/sysdev/scom.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/debug.h> | 25 | #include <asm/debug.h> |
26 | #include <asm/prom.h> | 26 | #include <asm/prom.h> |
27 | #include <asm/scom.h> | 27 | #include <asm/scom.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | const struct scom_controller *scom_controller; | 30 | const struct scom_controller *scom_controller; |
31 | EXPORT_SYMBOL_GPL(scom_controller); | 31 | EXPORT_SYMBOL_GPL(scom_controller); |
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c index 53a16aa4d384..5692dd569b9b 100644 --- a/arch/powerpc/sysdev/tsi108_pci.c +++ b/arch/powerpc/sysdev/tsi108_pci.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <asm/byteorder.h> | 30 | #include <asm/byteorder.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/machdep.h> | 34 | #include <asm/machdep.h> |
35 | #include <asm/pci-bridge.h> | 35 | #include <asm/pci-bridge.h> |
36 | #include <asm/tsi108.h> | 36 | #include <asm/tsi108.h> |
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c index f587c4811faf..5a8dfa22da7c 100644 --- a/arch/s390/appldata/appldata_base.c +++ b/arch/s390/appldata/appldata_base.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | #include <asm/appldata.h> | 29 | #include <asm/appldata.h> |
30 | #include <asm/vtimer.h> | 30 | #include <asm/vtimer.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/smp.h> | 33 | #include <asm/smp.h> |
34 | 34 | ||
diff --git a/arch/s390/boot/compressed/misc.c b/arch/s390/boot/compressed/misc.c index 4da604ebf6fd..8515dd5a5663 100644 --- a/arch/s390/boot/compressed/misc.c +++ b/arch/s390/boot/compressed/misc.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> | 6 | * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | #include <asm/page.h> | 10 | #include <asm/page.h> |
11 | #include <asm/sclp.h> | 11 | #include <asm/sclp.h> |
12 | #include <asm/ipl.h> | 12 | #include <asm/ipl.h> |
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c index 1113389d0a39..daf9bb063aaa 100644 --- a/arch/s390/crypto/prng.c +++ b/arch/s390/crypto/prng.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/random.h> | 21 | #include <linux/random.h> |
22 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
23 | #include <asm/debug.h> | 23 | #include <asm/debug.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/timex.h> | 25 | #include <asm/timex.h> |
26 | #include <asm/cpacf.h> | 26 | #include <asm/cpacf.h> |
27 | 27 | ||
diff --git a/arch/s390/include/asm/checksum.h b/arch/s390/include/asm/checksum.h index d7f100c53f07..12bf4fef2a68 100644 --- a/arch/s390/include/asm/checksum.h +++ b/arch/s390/include/asm/checksum.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #ifndef _S390_CHECKSUM_H | 11 | #ifndef _S390_CHECKSUM_H |
12 | #define _S390_CHECKSUM_H | 12 | #define _S390_CHECKSUM_H |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * computes the checksum of a memory block at buff, length len, | 17 | * computes the checksum of a memory block at buff, length len, |
diff --git a/arch/s390/include/asm/idals.h b/arch/s390/include/asm/idals.h index a7b2d7504049..280b60a0bcd4 100644 --- a/arch/s390/include/asm/idals.h +++ b/arch/s390/include/asm/idals.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <asm/cio.h> | 19 | #include <asm/cio.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #define IDA_SIZE_LOG 12 /* 11 for 2k , 12 for 4k */ | 22 | #define IDA_SIZE_LOG 12 /* 11 for 2k , 12 for 4k */ |
23 | #define IDA_BLOCK_SIZE (1L<<IDA_SIZE_LOG) | 23 | #define IDA_BLOCK_SIZE (1L<<IDA_SIZE_LOG) |
diff --git a/arch/s390/include/asm/mmu_context.h b/arch/s390/include/asm/mmu_context.h index 515fea5a3fc4..67f7a991c929 100644 --- a/arch/s390/include/asm/mmu_context.h +++ b/arch/s390/include/asm/mmu_context.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #define __S390_MMU_CONTEXT_H | 8 | #define __S390_MMU_CONTEXT_H |
9 | 9 | ||
10 | #include <asm/pgalloc.h> | 10 | #include <asm/pgalloc.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <asm/tlbflush.h> | 12 | #include <asm/tlbflush.h> |
13 | #include <asm/ctl_reg.h> | 13 | #include <asm/ctl_reg.h> |
14 | 14 | ||
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c index 0f9cd90c11af..96df4547377a 100644 --- a/arch/s390/kernel/compat_linux.c +++ b/arch/s390/kernel/compat_linux.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <linux/slab.h> | 51 | #include <linux/slab.h> |
52 | 52 | ||
53 | #include <asm/types.h> | 53 | #include <asm/types.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | 55 | ||
56 | #include <net/scm.h> | 56 | #include <net/scm.h> |
57 | #include <net/sock.h> | 57 | #include <net/sock.h> |
diff --git a/arch/s390/kernel/compat_signal.c b/arch/s390/kernel/compat_signal.c index 6f2a6ab13cb5..362350cc485c 100644 --- a/arch/s390/kernel/compat_signal.c +++ b/arch/s390/kernel/compat_signal.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/personality.h> | 23 | #include <linux/personality.h> |
24 | #include <linux/binfmts.h> | 24 | #include <linux/binfmts.h> |
25 | #include <asm/ucontext.h> | 25 | #include <asm/ucontext.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/lowcore.h> | 27 | #include <asm/lowcore.h> |
28 | #include <asm/switch_to.h> | 28 | #include <asm/switch_to.h> |
29 | #include "compat_linux.h" | 29 | #include "compat_linux.h" |
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index aa12de72fd47..79f8ae933520 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/ctype.h> | 19 | #include <linux/ctype.h> |
20 | #include <linux/string.h> | 20 | #include <linux/string.h> |
21 | #include <linux/sysctl.h> | 21 | #include <linux/sysctl.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c index c74c59236f44..9f017cf417f6 100644 --- a/arch/s390/kernel/dis.c +++ b/arch/s390/kernel/dis.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/kprobes.h> | 22 | #include <linux/kprobes.h> |
23 | #include <linux/kdebug.h> | 23 | #include <linux/kdebug.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/dis.h> | 26 | #include <asm/dis.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <linux/atomic.h> | 28 | #include <linux/atomic.h> |
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index fdb40424acfe..84e0557b16fe 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/ftrace.h> | 33 | #include <linux/ftrace.h> |
34 | #include <asm/cacheflush.h> | 34 | #include <asm/cacheflush.h> |
35 | #include <asm/sections.h> | 35 | #include <asm/sections.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/dis.h> | 37 | #include <asm/dis.h> |
38 | 38 | ||
39 | DEFINE_PER_CPU(struct kprobe *, current_kprobe); | 39 | DEFINE_PER_CPU(struct kprobe *, current_kprobe); |
diff --git a/arch/s390/kernel/ptrace.c b/arch/s390/kernel/ptrace.c index b81ab8882e2e..7447ba509c30 100644 --- a/arch/s390/kernel/ptrace.c +++ b/arch/s390/kernel/ptrace.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/page.h> | 26 | #include <asm/page.h> |
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/pgalloc.h> | 28 | #include <asm/pgalloc.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/unistd.h> | 30 | #include <asm/unistd.h> |
31 | #include <asm/switch_to.h> | 31 | #include <asm/switch_to.h> |
32 | #include "entry.h" | 32 | #include "entry.h" |
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c index 9f241d1efeda..62a4c263e887 100644 --- a/arch/s390/kernel/signal.c +++ b/arch/s390/kernel/signal.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/syscalls.h> | 26 | #include <linux/syscalls.h> |
27 | #include <linux/compat.h> | 27 | #include <linux/compat.h> |
28 | #include <asm/ucontext.h> | 28 | #include <asm/ucontext.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/lowcore.h> | 30 | #include <asm/lowcore.h> |
31 | #include <asm/switch_to.h> | 31 | #include <asm/switch_to.h> |
32 | #include "entry.h" | 32 | #include "entry.h" |
diff --git a/arch/s390/kernel/sys_s390.c b/arch/s390/kernel/sys_s390.c index f145490cce54..b7af452978ca 100644 --- a/arch/s390/kernel/sys_s390.c +++ b/arch/s390/kernel/sys_s390.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/personality.h> | 27 | #include <linux/personality.h> |
28 | #include <linux/unistd.h> | 28 | #include <linux/unistd.h> |
29 | #include <linux/ipc.h> | 29 | #include <linux/ipc.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include "entry.h" | 31 | #include "entry.h" |
32 | 32 | ||
33 | /* | 33 | /* |
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 867d0a057046..ec76315c9ee5 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/clockchips.h> | 38 | #include <linux/clockchips.h> |
39 | #include <linux/gfp.h> | 39 | #include <linux/gfp.h> |
40 | #include <linux/kprobes.h> | 40 | #include <linux/kprobes.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/facility.h> | 42 | #include <asm/facility.h> |
43 | #include <asm/delay.h> | 43 | #include <asm/delay.h> |
44 | #include <asm/div64.h> | 44 | #include <asm/div64.h> |
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index d0539f76fd24..283ad7840335 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/mm.h> | 20 | #include <linux/mm.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/fpu/api.h> | 23 | #include <asm/fpu/api.h> |
24 | #include "entry.h" | 24 | #include "entry.h" |
25 | 25 | ||
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index af13f1a135b6..6843dd5a1cba 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
21 | #include <asm/asm-offsets.h> | 21 | #include <asm/asm-offsets.h> |
22 | #include <asm/dis.h> | 22 | #include <asm/dis.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/sclp.h> | 24 | #include <asm/sclp.h> |
25 | #include <asm/isc.h> | 25 | #include <asm/isc.h> |
26 | #include <asm/gmap.h> | 26 | #include <asm/gmap.h> |
diff --git a/arch/s390/mm/init.c b/arch/s390/mm/init.c index b3e9d18f2ec6..b67454ad8408 100644 --- a/arch/s390/mm/init.c +++ b/arch/s390/mm/init.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
30 | #include <linux/memblock.h> | 30 | #include <linux/memblock.h> |
31 | #include <asm/processor.h> | 31 | #include <asm/processor.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/pgalloc.h> | 34 | #include <asm/pgalloc.h> |
35 | #include <asm/dma.h> | 35 | #include <asm/dma.h> |
diff --git a/arch/score/include/asm/checksum.h b/arch/score/include/asm/checksum.h index 539d9fd45d21..0338927f4826 100644 --- a/arch/score/include/asm/checksum.h +++ b/arch/score/include/asm/checksum.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _ASM_SCORE_CHECKSUM_H | 2 | #define _ASM_SCORE_CHECKSUM_H |
3 | 3 | ||
4 | #include <linux/in6.h> | 4 | #include <linux/in6.h> |
5 | #include <asm/uaccess.h> | 5 | #include <linux/uaccess.h> |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * computes the checksum of a memory block at buff, length len, | 8 | * computes the checksum of a memory block at buff, length len, |
diff --git a/arch/score/kernel/ptrace.c b/arch/score/kernel/ptrace.c index 4f7314d5f334..8b75e54816c1 100644 --- a/arch/score/kernel/ptrace.c +++ b/arch/score/kernel/ptrace.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/ptrace.h> | 29 | #include <linux/ptrace.h> |
30 | #include <linux/regset.h> | 30 | #include <linux/regset.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * retrieve the contents of SCORE userspace general registers | 35 | * retrieve the contents of SCORE userspace general registers |
diff --git a/arch/score/kernel/traps.c b/arch/score/kernel/traps.c index 5cea1e750cec..d948a6818961 100644 --- a/arch/score/kernel/traps.c +++ b/arch/score/kernel/traps.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
31 | #include <asm/irq_regs.h> | 31 | #include <asm/irq_regs.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | unsigned long exception_handlers[32]; | 34 | unsigned long exception_handlers[32]; |
35 | 35 | ||
diff --git a/arch/score/lib/checksum_copy.c b/arch/score/lib/checksum_copy.c index 9b770b30e8a5..39b99ef61804 100644 --- a/arch/score/lib/checksum_copy.c +++ b/arch/score/lib/checksum_copy.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include <net/checksum.h> | 26 | #include <net/checksum.h> |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | unsigned int csum_partial_copy(const char *src, char *dst, | 30 | unsigned int csum_partial_copy(const char *src, char *dst, |
31 | int len, unsigned int sum) | 31 | int len, unsigned int sum) |
diff --git a/arch/sh/boards/mach-landisk/gio.c b/arch/sh/boards/mach-landisk/gio.c index 8132dff078fb..32c317f5d991 100644 --- a/arch/sh/boards/mach-landisk/gio.c +++ b/arch/sh/boards/mach-landisk/gio.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/cdev.h> | 18 | #include <linux/cdev.h> |
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <mach-landisk/mach/gio.h> | 22 | #include <mach-landisk/mach/gio.h> |
23 | #include <mach-landisk/mach/iodata_landisk.h> | 23 | #include <mach-landisk/mach/iodata_landisk.h> |
24 | 24 | ||
diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index 208a9753ab38..ae1dfdb0013b 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c | |||
@@ -11,7 +11,7 @@ | |||
11 | * Modified to use standard LinuxSH BIOS by Greg Banks 7Jul2000 | 11 | * Modified to use standard LinuxSH BIOS by Greg Banks 7Jul2000 |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/addrspace.h> | 15 | #include <asm/addrspace.h> |
16 | #include <asm/page.h> | 16 | #include <asm/page.h> |
17 | 17 | ||
diff --git a/arch/sh/include/asm/mmu_context.h b/arch/sh/include/asm/mmu_context.h index 9f417feaf6e8..35ffdd081d26 100644 --- a/arch/sh/include/asm/mmu_context.h +++ b/arch/sh/include/asm/mmu_context.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifdef __KERNEL__ | 10 | #ifdef __KERNEL__ |
11 | #include <cpu/mmu_context.h> | 11 | #include <cpu/mmu_context.h> |
12 | #include <asm/tlbflush.h> | 12 | #include <asm/tlbflush.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <asm/io.h> | 14 | #include <asm/io.h> |
15 | #include <asm-generic/mm_hooks.h> | 15 | #include <asm-generic/mm_hooks.h> |
16 | 16 | ||
diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index c8b3be1b54e6..c4f01c5c8736 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/log2.h> | 16 | #include <linux/log2.h> |
17 | #include <asm/mmu_context.h> | 17 | #include <asm/mmu_context.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/page.h> | 20 | #include <asm/page.h> |
21 | #include <asm/cacheflush.h> | 21 | #include <asm/cacheflush.h> |
22 | #include <asm/cache.h> | 22 | #include <asm/cache.h> |
diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel/cpu/shmobile/cpuidle.c index 53b8eeb1db20..c32e66079f7c 100644 --- a/arch/sh/kernel/cpu/shmobile/cpuidle.c +++ b/arch/sh/kernel/cpu/shmobile/cpuidle.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/cpuidle.h> | 16 | #include <linux/cpuidle.h> |
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | #include <asm/suspend.h> | 18 | #include <asm/suspend.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | static unsigned long cpuidle_mode[] = { | 21 | static unsigned long cpuidle_mode[] = { |
22 | SUSP_SH_SLEEP, /* regular sleep mode */ | 22 | SUSP_SH_SLEEP, /* regular sleep mode */ |
diff --git a/arch/sh/kernel/cpu/shmobile/pm.c b/arch/sh/kernel/cpu/shmobile/pm.c index ac37b7234f85..fba2be5d72e9 100644 --- a/arch/sh/kernel/cpu/shmobile/pm.c +++ b/arch/sh/kernel/cpu/shmobile/pm.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | #include <linux/suspend.h> | 15 | #include <linux/suspend.h> |
16 | #include <asm/suspend.h> | 16 | #include <asm/suspend.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
19 | #include <asm/bl_bit.h> | 19 | #include <asm/bl_bit.h> |
20 | 20 | ||
diff --git a/arch/sh/kernel/crash_dump.c b/arch/sh/kernel/crash_dump.c index 569e7b171c01..b33be505361e 100644 --- a/arch/sh/kernel/crash_dump.c +++ b/arch/sh/kernel/crash_dump.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/errno.h> | 7 | #include <linux/errno.h> |
8 | #include <linux/crash_dump.h> | 8 | #include <linux/crash_dump.h> |
9 | #include <linux/io.h> | 9 | #include <linux/io.h> |
10 | #include <asm/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * copy_oldmem_page - copy one page from "oldmem" | 13 | * copy_oldmem_page - copy one page from "oldmem" |
diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c index f8ce36286cea..4d4e7a2a774b 100644 --- a/arch/sh/kernel/io_trapped.c +++ b/arch/sh/kernel/io_trapped.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <asm/mmu_context.h> | 18 | #include <asm/mmu_context.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/io_trapped.h> | 21 | #include <asm/io_trapped.h> |
22 | 22 | ||
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 6c0378c0b8b5..bc3591125df7 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/ratelimit.h> | 16 | #include <linux/ratelimit.h> |
17 | #include <asm/processor.h> | 17 | #include <asm/processor.h> |
18 | #include <asm/machvec.h> | 18 | #include <asm/machvec.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/thread_info.h> | 20 | #include <asm/thread_info.h> |
21 | #include <cpu/mmu_context.h> | 21 | #include <cpu/mmu_context.h> |
22 | 22 | ||
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index 83acbf3f6de8..1653ff64b103 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kdebug.h> | 15 | #include <linux/kdebug.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/cacheflush.h> | 17 | #include <asm/cacheflush.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL; | 20 | DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL; |
21 | DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); | 21 | DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk); |
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index ee12e9451874..51741850a715 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/hw_breakpoint.h> | 23 | #include <linux/hw_breakpoint.h> |
24 | #include <linux/prefetch.h> | 24 | #include <linux/prefetch.h> |
25 | #include <linux/stackprotector.h> | 25 | #include <linux/stackprotector.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/mmu_context.h> | 27 | #include <asm/mmu_context.h> |
28 | #include <asm/fpu.h> | 28 | #include <asm/fpu.h> |
29 | #include <asm/syscalls.h> | 29 | #include <asm/syscalls.h> |
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index 9d3e9916555d..e0b271bffd6a 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
28 | #include <asm/syscalls.h> | 28 | #include <asm/syscalls.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/mmu_context.h> | 31 | #include <asm/mmu_context.h> |
32 | #include <asm/fpu.h> | 32 | #include <asm/fpu.h> |
diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index c1a6b89bfe70..1aabfd356b35 100644 --- a/arch/sh/kernel/ptrace_32.c +++ b/arch/sh/kernel/ptrace_32.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/elf.h> | 26 | #include <linux/elf.h> |
27 | #include <linux/regset.h> | 27 | #include <linux/regset.h> |
28 | #include <linux/hw_breakpoint.h> | 28 | #include <linux/hw_breakpoint.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/processor.h> | 31 | #include <asm/processor.h> |
32 | #include <asm/mmu_context.h> | 32 | #include <asm/mmu_context.h> |
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c index 5cea973a65b2..c49d0d05a215 100644 --- a/arch/sh/kernel/ptrace_64.c +++ b/arch/sh/kernel/ptrace_64.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/elf.h> | 32 | #include <linux/elf.h> |
33 | #include <linux/regset.h> | 33 | #include <linux/regset.h> |
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/pgtable.h> | 36 | #include <asm/pgtable.h> |
37 | #include <asm/processor.h> | 37 | #include <asm/processor.h> |
38 | #include <asm/mmu_context.h> | 38 | #include <asm/mmu_context.h> |
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index e7b49d81053e..3a44c753b642 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/memblock.h> | 31 | #include <linux/memblock.h> |
32 | #include <linux/of.h> | 32 | #include <linux/of.h> |
33 | #include <linux/of_fdt.h> | 33 | #include <linux/of_fdt.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/page.h> | 36 | #include <asm/page.h> |
37 | #include <asm/elf.h> | 37 | #include <asm/elf.h> |
diff --git a/arch/sh/kernel/sh_ksyms_64.c b/arch/sh/kernel/sh_ksyms_64.c index 26a0774f5272..6ee3740e009e 100644 --- a/arch/sh/kernel/sh_ksyms_64.c +++ b/arch/sh/kernel/sh_ksyms_64.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/screen_info.h> | 18 | #include <linux/screen_info.h> |
19 | #include <asm/cacheflush.h> | 19 | #include <asm/cacheflush.h> |
20 | #include <asm/processor.h> | 20 | #include <asm/processor.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/checksum.h> | 22 | #include <asm/checksum.h> |
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/delay.h> | 24 | #include <asm/delay.h> |
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index f7c3d5c25caf..5128d3001ee5 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/tracehook.h> | 26 | #include <linux/tracehook.h> |
27 | #include <asm/ucontext.h> | 27 | #include <asm/ucontext.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
30 | #include <asm/cacheflush.h> | 30 | #include <asm/cacheflush.h> |
31 | #include <asm/syscalls.h> | 31 | #include <asm/syscalls.h> |
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index d8a3f0d22809..7b77f1812434 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/stddef.h> | 23 | #include <linux/stddef.h> |
24 | #include <linux/tracehook.h> | 24 | #include <linux/tracehook.h> |
25 | #include <asm/ucontext.h> | 25 | #include <asm/ucontext.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/cacheflush.h> | 28 | #include <asm/cacheflush.h> |
29 | #include <asm/fpu.h> | 29 | #include <asm/fpu.h> |
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index 8c6a350df751..6576e5ee1fc3 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
24 | #include <linux/ipc.h> | 24 | #include <linux/ipc.h> |
25 | #include <asm/syscalls.h> | 25 | #include <asm/syscalls.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/unistd.h> | 27 | #include <asm/unistd.h> |
28 | #include <asm/cacheflush.h> | 28 | #include <asm/cacheflush.h> |
29 | #include <asm/cachectl.h> | 29 | #include <asm/cachectl.h> |
diff --git a/arch/sh/kernel/sys_sh32.c b/arch/sh/kernel/sys_sh32.c index b66d1c62eb19..d5287d76809c 100644 --- a/arch/sh/kernel/sys_sh32.c +++ b/arch/sh/kernel/sys_sh32.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/fs.h> | 13 | #include <linux/fs.h> |
14 | #include <linux/ipc.h> | 14 | #include <linux/ipc.h> |
15 | #include <asm/cacheflush.h> | 15 | #include <asm/cacheflush.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/unistd.h> | 17 | #include <asm/unistd.h> |
18 | #include <asm/syscalls.h> | 18 | #include <asm/syscalls.h> |
19 | 19 | ||
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index d208c27ccc67..00835edb6e20 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/sysctl.h> | 25 | #include <linux/sysctl.h> |
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/perf_event.h> | 27 | #include <linux/perf_event.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/alignment.h> | 30 | #include <asm/alignment.h> |
31 | #include <asm/processor.h> | 31 | #include <asm/processor.h> |
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c index 04aa55fa8c75..5078cb809750 100644 --- a/arch/sh/math-emu/math.c +++ b/arch/sh/math-emu/math.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/signal.h> | 14 | #include <linux/signal.h> |
15 | #include <linux/perf_event.h> | 15 | #include <linux/perf_event.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | 20 | ||
diff --git a/arch/sh/mm/cache-debugfs.c b/arch/sh/mm/cache-debugfs.c index 777e50f33c00..4eb9d43578b4 100644 --- a/arch/sh/mm/cache-debugfs.c +++ b/arch/sh/mm/cache-debugfs.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/debugfs.h> | 12 | #include <linux/debugfs.h> |
13 | #include <linux/seq_file.h> | 13 | #include <linux/seq_file.h> |
14 | #include <asm/processor.h> | 14 | #include <asm/processor.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/cache.h> | 16 | #include <asm/cache.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | 18 | ||
diff --git a/arch/sh/mm/cache-sh3.c b/arch/sh/mm/cache-sh3.c index e37523f65195..031634f273fa 100644 --- a/arch/sh/mm/cache-sh3.c +++ b/arch/sh/mm/cache-sh3.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/processor.h> | 17 | #include <asm/processor.h> |
18 | #include <asm/cache.h> | 18 | #include <asm/cache.h> |
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/pgalloc.h> | 21 | #include <asm/pgalloc.h> |
22 | #include <asm/mmu_context.h> | 22 | #include <asm/mmu_context.h> |
23 | #include <asm/cacheflush.h> | 23 | #include <asm/cacheflush.h> |
diff --git a/arch/sh/mm/cache-sh5.c b/arch/sh/mm/cache-sh5.c index d1bffbcd9d52..d94dadedf74f 100644 --- a/arch/sh/mm/cache-sh5.c +++ b/arch/sh/mm/cache-sh5.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/processor.h> | 17 | #include <asm/processor.h> |
18 | #include <asm/cache.h> | 18 | #include <asm/cache.h> |
19 | #include <asm/pgalloc.h> | 19 | #include <asm/pgalloc.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/mmu_context.h> | 21 | #include <asm/mmu_context.h> |
22 | 22 | ||
23 | extern void __weak sh4__flush_region_init(void); | 23 | extern void __weak sh4__flush_region_init(void); |
diff --git a/arch/sh/mm/cache-sh7705.c b/arch/sh/mm/cache-sh7705.c index 7729cca727eb..6cd2aa395817 100644 --- a/arch/sh/mm/cache-sh7705.c +++ b/arch/sh/mm/cache-sh7705.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/processor.h> | 20 | #include <asm/processor.h> |
21 | #include <asm/cache.h> | 21 | #include <asm/cache.h> |
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/pgalloc.h> | 24 | #include <asm/pgalloc.h> |
25 | #include <asm/mmu_context.h> | 25 | #include <asm/mmu_context.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
diff --git a/arch/sh/mm/extable_32.c b/arch/sh/mm/extable_32.c index c1cf4463d09d..9cfcbb5848e4 100644 --- a/arch/sh/mm/extable_32.c +++ b/arch/sh/mm/extable_32.c | |||
@@ -5,7 +5,7 @@ | |||
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/module.h> | 7 | #include <linux/module.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | 9 | ||
10 | int fixup_exception(struct pt_regs *regs) | 10 | int fixup_exception(struct pt_regs *regs) |
11 | { | 11 | { |
diff --git a/arch/sh/mm/extable_64.c b/arch/sh/mm/extable_64.c index f05499688d88..96edaff8c983 100644 --- a/arch/sh/mm/extable_64.c +++ b/arch/sh/mm/extable_64.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | #include <linux/rwsem.h> | 13 | #include <linux/rwsem.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | extern unsigned long copy_user_memcpy, copy_user_memcpy_end; | 17 | extern unsigned long copy_user_memcpy, copy_user_memcpy_end; |
18 | extern void __copy_user_fixup(void); | 18 | extern void __copy_user_fixup(void); |
diff --git a/arch/sh/mm/nommu.c b/arch/sh/mm/nommu.c index 36312d254faf..82f8197b93f6 100644 --- a/arch/sh/mm/nommu.c +++ b/arch/sh/mm/nommu.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <asm/pgtable.h> | 14 | #include <asm/pgtable.h> |
15 | #include <asm/tlbflush.h> | 15 | #include <asm/tlbflush.h> |
16 | #include <asm/page.h> | 16 | #include <asm/page.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /* | 19 | /* |
20 | * Nothing too terribly exciting here .. | 20 | * Nothing too terribly exciting here .. |
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 7160c9fd6fe3..7b2cc490ebb7 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/vmalloc.h> | 25 | #include <linux/vmalloc.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | #include <asm/sizes.h> | 27 | #include <asm/sizes.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
30 | #include <asm/page.h> | 30 | #include <asm/page.h> |
31 | #include <asm/mmu.h> | 31 | #include <asm/mmu.h> |
diff --git a/arch/sh/mm/tlb-sh3.c b/arch/sh/mm/tlb-sh3.c index 6554fb439f0e..5c66665bff8b 100644 --- a/arch/sh/mm/tlb-sh3.c +++ b/arch/sh/mm/tlb-sh3.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | 22 | ||
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/pgalloc.h> | 25 | #include <asm/pgalloc.h> |
26 | #include <asm/mmu_context.h> | 26 | #include <asm/mmu_context.h> |
27 | #include <asm/cacheflush.h> | 27 | #include <asm/cacheflush.h> |
diff --git a/arch/sh/mm/tlbex_64.c b/arch/sh/mm/tlbex_64.c index 8557548fc53e..8ff966dd0c74 100644 --- a/arch/sh/mm/tlbex_64.c +++ b/arch/sh/mm/tlbex_64.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/kprobes.h> | 36 | #include <linux/kprobes.h> |
37 | #include <asm/tlb.h> | 37 | #include <asm/tlb.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/pgalloc.h> | 40 | #include <asm/pgalloc.h> |
41 | #include <asm/mmu_context.h> | 41 | #include <asm/mmu_context.h> |
42 | 42 | ||
diff --git a/arch/sh/mm/tlbflush_64.c b/arch/sh/mm/tlbflush_64.c index f33fdd2558e8..bd0715d5dca4 100644 --- a/arch/sh/mm/tlbflush_64.c +++ b/arch/sh/mm/tlbflush_64.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <asm/tlb.h> | 26 | #include <asm/tlb.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/pgalloc.h> | 28 | #include <asm/pgalloc.h> |
29 | #include <asm/mmu_context.h> | 29 | #include <asm/mmu_context.h> |
30 | 30 | ||
diff --git a/arch/sh/oprofile/backtrace.c b/arch/sh/oprofile/backtrace.c index 9c88dcd56e86..c7695f99c8c3 100644 --- a/arch/sh/oprofile/backtrace.c +++ b/arch/sh/oprofile/backtrace.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
20 | #include <asm/unwinder.h> | 20 | #include <asm/unwinder.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/sections.h> | 23 | #include <asm/sections.h> |
24 | #include <asm/stacktrace.h> | 24 | #include <asm/stacktrace.h> |
25 | 25 | ||
diff --git a/arch/sparc/include/asm/checksum_32.h b/arch/sparc/include/asm/checksum_32.h index eff748c871ec..e25af5fc99fd 100644 --- a/arch/sparc/include/asm/checksum_32.h +++ b/arch/sparc/include/asm/checksum_32.h | |||
@@ -16,7 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/in6.h> | 18 | #include <linux/in6.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | /* computes the checksum of a memory block at buff, length len, | 21 | /* computes the checksum of a memory block at buff, length len, |
22 | * and adds in "sum" (32-bit) | 22 | * and adds in "sum" (32-bit) |
diff --git a/arch/sparc/include/asm/checksum_64.h b/arch/sparc/include/asm/checksum_64.h index 0395d75322e9..96a5ed58cea6 100644 --- a/arch/sparc/include/asm/checksum_64.h +++ b/arch/sparc/include/asm/checksum_64.h | |||
@@ -16,7 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/in6.h> | 18 | #include <linux/in6.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | /* computes the checksum of a memory block at buff, length len, | 21 | /* computes the checksum of a memory block at buff, length len, |
22 | * and adds in "sum" (32-bit) | 22 | * and adds in "sum" (32-bit) |
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c index 742f6c4436bf..9ebc37e7d64c 100644 --- a/arch/sparc/kernel/apc.c +++ b/arch/sparc/kernel/apc.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <asm/oplib.h> | 19 | #include <asm/oplib.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/auxio.h> | 21 | #include <asm/auxio.h> |
22 | #include <asm/apc.h> | 22 | #include <asm/apc.h> |
23 | #include <asm/processor.h> | 23 | #include <asm/processor.h> |
diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c index 34a7930b76ef..3bebf395252c 100644 --- a/arch/sparc/kernel/irq_64.c +++ b/arch/sparc/kernel/irq_64.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/timer.h> | 35 | #include <asm/timer.h> |
36 | #include <asm/smp.h> | 36 | #include <asm/smp.h> |
37 | #include <asm/starfire.h> | 37 | #include <asm/starfire.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/cache.h> | 39 | #include <asm/cache.h> |
40 | #include <asm/cpudata.h> | 40 | #include <asm/cpudata.h> |
41 | #include <asm/auxio.h> | 41 | #include <asm/auxio.h> |
diff --git a/arch/sparc/kernel/kprobes.c b/arch/sparc/kernel/kprobes.c index b0377db12d83..2d13a4fc0384 100644 --- a/arch/sparc/kernel/kprobes.c +++ b/arch/sparc/kernel/kprobes.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/context_tracking.h> | 11 | #include <linux/context_tracking.h> |
12 | #include <asm/signal.h> | 12 | #include <asm/signal.h> |
13 | #include <asm/cacheflush.h> | 13 | #include <asm/cacheflush.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | /* We do not have hardware single-stepping on sparc64. | 16 | /* We do not have hardware single-stepping on sparc64. |
17 | * So we implement software single-stepping with breakpoint | 17 | * So we implement software single-stepping with breakpoint |
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c index 8a6982dfd733..c0765bbf60ea 100644 --- a/arch/sparc/kernel/mdesc.c +++ b/arch/sparc/kernel/mdesc.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <asm/hypervisor.h> | 17 | #include <asm/hypervisor.h> |
18 | #include <asm/mdesc.h> | 18 | #include <asm/mdesc.h> |
19 | #include <asm/prom.h> | 19 | #include <asm/prom.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/oplib.h> | 21 | #include <asm/oplib.h> |
22 | #include <asm/smp.h> | 22 | #include <asm/smp.h> |
23 | 23 | ||
diff --git a/arch/sparc/kernel/pci.c b/arch/sparc/kernel/pci.c index 9c1878f4fa9f..015e55a7495d 100644 --- a/arch/sparc/kernel/pci.c +++ b/arch/sparc/kernel/pci.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/of.h> | 21 | #include <linux/of.h> |
22 | #include <linux/of_device.h> | 22 | #include <linux/of_device.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/prom.h> | 27 | #include <asm/prom.h> |
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 24384e1dc33d..a38787b84322 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/pcic.h> | 33 | #include <asm/pcic.h> |
34 | #include <asm/timex.h> | 34 | #include <asm/timex.h> |
35 | #include <asm/timer.h> | 35 | #include <asm/timer.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/irq_regs.h> | 37 | #include <asm/irq_regs.h> |
38 | 38 | ||
39 | #include "kernel.h" | 39 | #include "kernel.h" |
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c index 97d123107ecb..f12b23f7b515 100644 --- a/arch/sparc/kernel/pmc.c +++ b/arch/sparc/kernel/pmc.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | #include <asm/oplib.h> | 17 | #include <asm/oplib.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/auxio.h> | 19 | #include <asm/auxio.h> |
20 | #include <asm/processor.h> | 20 | #include <asm/processor.h> |
21 | 21 | ||
diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c index b7780a5bef11..48ffc3e7d1dd 100644 --- a/arch/sparc/kernel/process_32.c +++ b/arch/sparc/kernel/process_32.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include <asm/auxio.h> | 29 | #include <asm/auxio.h> |
30 | #include <asm/oplib.h> | 30 | #include <asm/oplib.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include <asm/pgalloc.h> | 33 | #include <asm/pgalloc.h> |
34 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c index 47ff5588e521..d249ca10b203 100644 --- a/arch/sparc/kernel/process_64.c +++ b/arch/sparc/kernel/process_64.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/nmi.h> | 33 | #include <linux/nmi.h> |
34 | #include <linux/context_tracking.h> | 34 | #include <linux/context_tracking.h> |
35 | 35 | ||
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/page.h> | 37 | #include <asm/page.h> |
38 | #include <asm/pgalloc.h> | 38 | #include <asm/pgalloc.h> |
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
diff --git a/arch/sparc/kernel/ptrace_32.c b/arch/sparc/kernel/ptrace_32.c index a331fdc11a2c..eca3dc76793c 100644 --- a/arch/sparc/kernel/ptrace_32.c +++ b/arch/sparc/kernel/ptrace_32.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/tracehook.h> | 23 | #include <linux/tracehook.h> |
24 | 24 | ||
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/cacheflush.h> | 27 | #include <asm/cacheflush.h> |
28 | 28 | ||
29 | #include "kernel.h" | 29 | #include "kernel.h" |
diff --git a/arch/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c index 96494b2ef41f..901063c1cf7e 100644 --- a/arch/sparc/kernel/ptrace_64.c +++ b/arch/sparc/kernel/ptrace_64.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | #include <asm/asi.h> | 32 | #include <asm/asi.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/psrcompat.h> | 35 | #include <asm/psrcompat.h> |
36 | #include <asm/visasm.h> | 36 | #include <asm/visasm.h> |
37 | #include <asm/spitfire.h> | 37 | #include <asm/spitfire.h> |
diff --git a/arch/sparc/kernel/signal32.c b/arch/sparc/kernel/signal32.c index 91cc2f4ae4d9..b4096bb665b2 100644 --- a/arch/sparc/kernel/signal32.c +++ b/arch/sparc/kernel/signal32.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/bitops.h> | 21 | #include <linux/bitops.h> |
22 | #include <linux/tracehook.h> | 22 | #include <linux/tracehook.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/ptrace.h> | 25 | #include <asm/ptrace.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/psrcompat.h> | 27 | #include <asm/psrcompat.h> |
diff --git a/arch/sparc/kernel/signal_32.c b/arch/sparc/kernel/signal_32.c index 9c0c8fd0b292..62c3e255ae7c 100644 --- a/arch/sparc/kernel/signal_32.c +++ b/arch/sparc/kernel/signal_32.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/bitops.h> | 20 | #include <linux/bitops.h> |
21 | #include <linux/tracehook.h> | 21 | #include <linux/tracehook.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/ptrace.h> | 24 | #include <asm/ptrace.h> |
25 | #include <asm/pgalloc.h> | 25 | #include <asm/pgalloc.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c index c782c9b716db..965d50e833e7 100644 --- a/arch/sparc/kernel/signal_64.c +++ b/arch/sparc/kernel/signal_64.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/bitops.h> | 25 | #include <linux/bitops.h> |
26 | #include <linux/context_tracking.h> | 26 | #include <linux/context_tracking.h> |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/ptrace.h> | 29 | #include <asm/ptrace.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/fpumacro.h> | 31 | #include <asm/fpumacro.h> |
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index 8182f7caf5b1..0ce347f8e4cc 100644 --- a/arch/sparc/kernel/smp_64.c +++ b/arch/sparc/kernel/smp_64.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <asm/page.h> | 43 | #include <asm/page.h> |
44 | #include <asm/pgtable.h> | 44 | #include <asm/pgtable.h> |
45 | #include <asm/oplib.h> | 45 | #include <asm/oplib.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <asm/starfire.h> | 47 | #include <asm/starfire.h> |
48 | #include <asm/tlb.h> | 48 | #include <asm/tlb.h> |
49 | #include <asm/sections.h> | 49 | #include <asm/sections.h> |
diff --git a/arch/sparc/kernel/sys_sparc32.c b/arch/sparc/kernel/sys_sparc32.c index 022c30c72ebd..bca44f3e6b86 100644 --- a/arch/sparc/kernel/sys_sparc32.c +++ b/arch/sparc/kernel/sys_sparc32.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/slab.h> | 44 | #include <linux/slab.h> |
45 | 45 | ||
46 | #include <asm/types.h> | 46 | #include <asm/types.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | #include <asm/fpumacro.h> | 48 | #include <asm/fpumacro.h> |
49 | #include <asm/mmu_context.h> | 49 | #include <asm/mmu_context.h> |
50 | #include <asm/compat_signal.h> | 50 | #include <asm/compat_signal.h> |
diff --git a/arch/sparc/kernel/sys_sparc_32.c b/arch/sparc/kernel/sys_sparc_32.c index 646988d4c1a3..fb7b185ee941 100644 --- a/arch/sparc/kernel/sys_sparc_32.c +++ b/arch/sparc/kernel/sys_sparc_32.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/smp.h> | 21 | #include <linux/smp.h> |
22 | #include <linux/ipc.h> | 22 | #include <linux/ipc.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/unistd.h> | 25 | #include <asm/unistd.h> |
26 | 26 | ||
27 | #include "systbls.h" | 27 | #include "systbls.h" |
diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index fe8b8ee8e660..884c70331345 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/export.h> | 26 | #include <linux/export.h> |
27 | #include <linux/context_tracking.h> | 27 | #include <linux/context_tracking.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/utrap.h> | 30 | #include <asm/utrap.h> |
31 | #include <asm/unistd.h> | 31 | #include <asm/unistd.h> |
32 | 32 | ||
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index c69b21e51efc..807f7e2ce014 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <asm/smp.h> | 45 | #include <asm/smp.h> |
46 | #include <asm/sections.h> | 46 | #include <asm/sections.h> |
47 | #include <asm/cpudata.h> | 47 | #include <asm/cpudata.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/irq_regs.h> | 49 | #include <asm/irq_regs.h> |
50 | 50 | ||
51 | #include "entry.h" | 51 | #include "entry.h" |
diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c index 496fa926e1e0..4bc10e44d1ca 100644 --- a/arch/sparc/kernel/traps_64.c +++ b/arch/sparc/kernel/traps_64.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/unistd.h> | 31 | #include <asm/unistd.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/fpumacro.h> | 33 | #include <asm/fpumacro.h> |
34 | #include <asm/lsu.h> | 34 | #include <asm/lsu.h> |
35 | #include <asm/dcu.h> | 35 | #include <asm/dcu.h> |
diff --git a/arch/sparc/kernel/unaligned_32.c b/arch/sparc/kernel/unaligned_32.c index 32b61d1b6379..d20d4e3fd129 100644 --- a/arch/sparc/kernel/unaligned_32.c +++ b/arch/sparc/kernel/unaligned_32.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <asm/ptrace.h> | 13 | #include <asm/ptrace.h> |
14 | #include <asm/processor.h> | 14 | #include <asm/processor.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <linux/smp.h> | 16 | #include <linux/smp.h> |
17 | #include <linux/perf_event.h> | 17 | #include <linux/perf_event.h> |
18 | 18 | ||
diff --git a/arch/sparc/kernel/unaligned_64.c b/arch/sparc/kernel/unaligned_64.c index 52c00d90d4b4..cda7fd367c4f 100644 --- a/arch/sparc/kernel/unaligned_64.c +++ b/arch/sparc/kernel/unaligned_64.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
17 | #include <asm/pstate.h> | 17 | #include <asm/pstate.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/smp.h> | 20 | #include <linux/smp.h> |
21 | #include <linux/bitops.h> | 21 | #include <linux/bitops.h> |
22 | #include <linux/perf_event.h> | 22 | #include <linux/perf_event.h> |
diff --git a/arch/sparc/kernel/uprobes.c b/arch/sparc/kernel/uprobes.c index b68314050602..d852ae56ddc1 100644 --- a/arch/sparc/kernel/uprobes.c +++ b/arch/sparc/kernel/uprobes.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/kdebug.h> | 29 | #include <linux/kdebug.h> |
30 | 30 | ||
31 | #include <asm/cacheflush.h> | 31 | #include <asm/cacheflush.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | /* Compute the address of the breakpoint instruction and return it. | 34 | /* Compute the address of the breakpoint instruction and return it. |
35 | * | 35 | * |
diff --git a/arch/sparc/kernel/visemul.c b/arch/sparc/kernel/visemul.c index c096c624ac4d..c4ac58e483a4 100644 --- a/arch/sparc/kernel/visemul.c +++ b/arch/sparc/kernel/visemul.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <asm/ptrace.h> | 10 | #include <asm/ptrace.h> |
11 | #include <asm/pstate.h> | 11 | #include <asm/pstate.h> |
12 | #include <asm/fpumacro.h> | 12 | #include <asm/fpumacro.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <asm/cacheflush.h> | 14 | #include <asm/cacheflush.h> |
15 | 15 | ||
16 | /* OPF field of various VIS instructions. */ | 16 | /* OPF field of various VIS instructions. */ |
diff --git a/arch/sparc/kernel/windows.c b/arch/sparc/kernel/windows.c index 87bab0a3857a..435a467b0595 100644 --- a/arch/sparc/kernel/windows.c +++ b/arch/sparc/kernel/windows.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/smp.h> | 11 | #include <linux/smp.h> |
12 | 12 | ||
13 | #include <asm/cacheflush.h> | 13 | #include <asm/cacheflush.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | #include "kernel.h" | 16 | #include "kernel.h" |
17 | 17 | ||
diff --git a/arch/sparc/math-emu/math_32.c b/arch/sparc/math-emu/math_32.c index 5ce8f2f64604..4d7e0fff054f 100644 --- a/arch/sparc/math-emu/math_32.c +++ b/arch/sparc/math-emu/math_32.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/sched.h> | 68 | #include <linux/sched.h> |
69 | #include <linux/mm.h> | 69 | #include <linux/mm.h> |
70 | #include <linux/perf_event.h> | 70 | #include <linux/perf_event.h> |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | 72 | ||
73 | #include "sfp-util_32.h" | 73 | #include "sfp-util_32.h" |
74 | #include <math-emu/soft-fp.h> | 74 | #include <math-emu/soft-fp.h> |
diff --git a/arch/sparc/math-emu/math_64.c b/arch/sparc/math-emu/math_64.c index 034aadbff036..9647051853d3 100644 --- a/arch/sparc/math-emu/math_64.c +++ b/arch/sparc/math-emu/math_64.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/fpumacro.h> | 16 | #include <asm/fpumacro.h> |
17 | #include <asm/ptrace.h> | 17 | #include <asm/ptrace.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/cacheflush.h> | 19 | #include <asm/cacheflush.h> |
20 | 20 | ||
21 | #include "sfp-util_64.h" | 21 | #include "sfp-util_64.h" |
diff --git a/arch/sparc/mm/extable.c b/arch/sparc/mm/extable.c index a61c349448e1..768a11e6bd4f 100644 --- a/arch/sparc/mm/extable.c +++ b/arch/sparc/mm/extable.c | |||
@@ -3,7 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <asm/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | 7 | ||
8 | void sort_extable(struct exception_table_entry *start, | 8 | void sort_extable(struct exception_table_entry *start, |
9 | struct exception_table_entry *finish) | 9 | struct exception_table_entry *finish) |
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 37aa537b3ad8..5d2f91511c60 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/oplib.h> | 35 | #include <asm/oplib.h> |
36 | #include <asm/iommu.h> | 36 | #include <asm/iommu.h> |
37 | #include <asm/io.h> | 37 | #include <asm/io.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/mmu_context.h> | 39 | #include <asm/mmu_context.h> |
40 | #include <asm/tlbflush.h> | 40 | #include <asm/tlbflush.h> |
41 | #include <asm/dma.h> | 41 | #include <asm/dma.h> |
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 9f37106ef93a..c84c54a1ac55 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/syscalls.h> | 35 | #include <asm/syscalls.h> |
36 | #include <asm/traps.h> | 36 | #include <asm/traps.h> |
37 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #ifdef CONFIG_HARDWALL | 39 | #ifdef CONFIG_HARDWALL |
40 | #include <asm/hardwall.h> | 40 | #include <asm/hardwall.h> |
41 | #endif | 41 | #endif |
diff --git a/arch/tile/kernel/single_step.c b/arch/tile/kernel/single_step.c index 862973074bf9..de3eae813e52 100644 --- a/arch/tile/kernel/single_step.c +++ b/arch/tile/kernel/single_step.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/prctl.h> | 25 | #include <linux/prctl.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | #include <asm/traps.h> | 27 | #include <asm/traps.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/unaligned.h> | 29 | #include <asm/unaligned.h> |
30 | #include <arch/abi.h> | 30 | #include <arch/abi.h> |
31 | #include <arch/spr_def.h> | 31 | #include <arch/spr_def.h> |
diff --git a/arch/tile/kernel/unaligned.c b/arch/tile/kernel/unaligned.c index 4fe78c5b8394..f229e979584e 100644 --- a/arch/tile/kernel/unaligned.c +++ b/arch/tile/kernel/unaligned.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/prctl.h> | 27 | #include <linux/prctl.h> |
28 | #include <asm/cacheflush.h> | 28 | #include <asm/cacheflush.h> |
29 | #include <asm/traps.h> | 29 | #include <asm/traps.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/unaligned.h> | 31 | #include <asm/unaligned.h> |
32 | #include <arch/abi.h> | 32 | #include <arch/abi.h> |
33 | #include <arch/spr_def.h> | 33 | #include <arch/spr_def.h> |
diff --git a/arch/um/drivers/harddog_kern.c b/arch/um/drivers/harddog_kern.c index 3282787bbcfb..6d381279b362 100644 --- a/arch/um/drivers/harddog_kern.c +++ b/arch/um/drivers/harddog_kern.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |
46 | #include <linux/init.h> | 46 | #include <linux/init.h> |
47 | #include <linux/spinlock.h> | 47 | #include <linux/spinlock.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include "mconsole.h" | 49 | #include "mconsole.h" |
50 | 50 | ||
51 | MODULE_LICENSE("GPL"); | 51 | MODULE_LICENSE("GPL"); |
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index 3a4b58730f5f..12bdb5996bf5 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/sound.h> | 9 | #include <linux/sound.h> |
10 | #include <linux/soundcard.h> | 10 | #include <linux/soundcard.h> |
11 | #include <linux/mutex.h> | 11 | #include <linux/mutex.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <init.h> | 13 | #include <init.h> |
14 | #include <os.h> | 14 | #include <os.h> |
15 | 15 | ||
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 8a6b57108ac2..8a4c72af3bc0 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/fs.h> | 24 | #include <linux/fs.h> |
25 | #include <linux/mount.h> | 25 | #include <linux/mount.h> |
26 | #include <linux/file.h> | 26 | #include <linux/file.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/switch_to.h> | 28 | #include <asm/switch_to.h> |
29 | 29 | ||
30 | #include <init.h> | 30 | #include <init.h> |
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c index 62145c276167..3645fcb2a787 100644 --- a/arch/um/drivers/mmapper_kern.c +++ b/arch/um/drivers/mmapper_kern.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <mem_user.h> | 21 | #include <mem_user.h> |
22 | 22 | ||
23 | /* These are set in mmapper_init, which is called at boot time */ | 23 | /* These are set in mmapper_init, which is called at boot time */ |
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c index dd16c902ff70..05523f14d7b2 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/miscdevice.h> | 13 | #include <linux/miscdevice.h> |
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <irq_kern.h> | 16 | #include <irq_kern.h> |
17 | #include <os.h> | 17 | #include <os.h> |
18 | 18 | ||
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 0d7103c9eff3..770ec07b6a6a 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <asm/current.h> | 12 | #include <asm/current.h> |
13 | #include <asm/processor.h> | 13 | #include <asm/processor.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <as-layout.h> | 15 | #include <as-layout.h> |
16 | #include <mem_user.h> | 16 | #include <mem_user.h> |
17 | #include <skas.h> | 17 | #include <skas.h> |
diff --git a/arch/um/kernel/exitcode.c b/arch/um/kernel/exitcode.c index 41ebbfebb333..546302e3b7fb 100644 --- a/arch/um/kernel/exitcode.c +++ b/arch/um/kernel/exitcode.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/proc_fs.h> | 10 | #include <linux/proc_fs.h> |
11 | #include <linux/seq_file.h> | 11 | #include <linux/seq_file.h> |
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | /* | 15 | /* |
16 | * If read and write race, the read will still atomically read a valid | 16 | * If read and write race, the read will still atomically read a valid |
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 034b42c7ab40..078630d6448c 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/current.h> | 24 | #include <asm/current.h> |
25 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
26 | #include <asm/mmu_context.h> | 26 | #include <asm/mmu_context.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <as-layout.h> | 28 | #include <as-layout.h> |
29 | #include <kern_util.h> | 29 | #include <kern_util.h> |
30 | #include <os.h> | 30 | #include <os.h> |
diff --git a/arch/um/kernel/ptrace.c b/arch/um/kernel/ptrace.c index 6a826cbb15c4..bc2a516c190f 100644 --- a/arch/um/kernel/ptrace.c +++ b/arch/um/kernel/ptrace.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/ptrace.h> | 7 | #include <linux/ptrace.h> |
8 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
9 | #include <linux/tracehook.h> | 9 | #include <linux/tracehook.h> |
10 | #include <asm/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | #include <asm/ptrace-abi.h> | 11 | #include <asm/ptrace-abi.h> |
12 | 12 | ||
13 | void user_enable_single_step(struct task_struct *child) | 13 | void user_enable_single_step(struct task_struct *child) |
diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c index c1d0ae069b53..6258676bed85 100644 --- a/arch/um/kernel/syscall.c +++ b/arch/um/kernel/syscall.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/syscalls.h> | 11 | #include <linux/syscalls.h> |
12 | #include <asm/current.h> | 12 | #include <asm/current.h> |
13 | #include <asm/mman.h> | 13 | #include <asm/mman.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/unistd.h> | 15 | #include <asm/unistd.h> |
16 | 16 | ||
17 | long old_mmap(unsigned long addr, unsigned long len, | 17 | long old_mmap(unsigned long addr, unsigned long len, |
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c index bdd9cc59d20f..b83c61cfd154 100644 --- a/arch/x86/entry/common.c +++ b/arch/x86/entry/common.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/desc.h> | 25 | #include <asm/desc.h> |
26 | #include <asm/traps.h> | 26 | #include <asm/traps.h> |
27 | #include <asm/vdso.h> | 27 | #include <asm/vdso.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/cpufeature.h> | 29 | #include <asm/cpufeature.h> |
30 | 30 | ||
31 | #define CREATE_TRACE_POINTS | 31 | #define CREATE_TRACE_POINTS |
diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index cb26f18d43af..7c0a711989d2 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/jiffies.h> | 27 | #include <linux/jiffies.h> |
28 | #include <linux/perf_event.h> | 28 | #include <linux/perf_event.h> |
29 | 29 | ||
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/pgalloc.h> | 31 | #include <asm/pgalloc.h> |
32 | #include <asm/cacheflush.h> | 32 | #include <asm/cacheflush.h> |
33 | #include <asm/user32.h> | 33 | #include <asm/user32.h> |
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index cb13c0564ea7..95c0b4ae09b0 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/compat.h> | 20 | #include <linux/compat.h> |
21 | #include <linux/binfmts.h> | 21 | #include <linux/binfmts.h> |
22 | #include <asm/ucontext.h> | 22 | #include <asm/ucontext.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/fpu/internal.h> | 24 | #include <asm/fpu/internal.h> |
25 | #include <asm/fpu/signal.h> | 25 | #include <asm/fpu/signal.h> |
26 | #include <asm/ptrace.h> | 26 | #include <asm/ptrace.h> |
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index 719cd702b0a4..47956c6a4fd8 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
43 | #include <asm/mman.h> | 43 | #include <asm/mman.h> |
44 | #include <asm/types.h> | 44 | #include <asm/types.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/atomic.h> | 46 | #include <linux/atomic.h> |
47 | #include <asm/vgtod.h> | 47 | #include <asm/vgtod.h> |
48 | #include <asm/sys_ia32.h> | 48 | #include <asm/sys_ia32.h> |
diff --git a/arch/x86/include/asm/asm-prototypes.h b/arch/x86/include/asm/asm-prototypes.h index 44b8762fa0c7..830b19dbfa31 100644 --- a/arch/x86/include/asm/asm-prototypes.h +++ b/arch/x86/include/asm/asm-prototypes.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #include <asm/ftrace.h> | 1 | #include <asm/ftrace.h> |
2 | #include <asm/uaccess.h> | 2 | #include <linux/uaccess.h> |
3 | #include <asm/string.h> | 3 | #include <asm/string.h> |
4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
5 | #include <asm/checksum.h> | 5 | #include <asm/checksum.h> |
diff --git a/arch/x86/include/asm/checksum_64.h b/arch/x86/include/asm/checksum_64.h index c020ee75dce7..08e7efb2c140 100644 --- a/arch/x86/include/asm/checksum_64.h +++ b/arch/x86/include/asm/checksum_64.h | |||
@@ -8,7 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/compiler.h> | 10 | #include <linux/compiler.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <asm/byteorder.h> | 12 | #include <asm/byteorder.h> |
13 | 13 | ||
14 | /** | 14 | /** |
diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include/asm/xen/page.h index f5fb840b43e8..33cbd3db97b9 100644 --- a/arch/x86/include/asm/xen/page.h +++ b/arch/x86/include/asm/xen/page.h | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/pfn.h> | 7 | #include <linux/pfn.h> |
8 | #include <linux/mm.h> | 8 | #include <linux/mm.h> |
9 | 9 | ||
10 | #include <asm/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | #include <asm/page.h> | 11 | #include <asm/page.h> |
12 | #include <asm/pgtable.h> | 12 | #include <asm/pgtable.h> |
13 | 13 | ||
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index 643818a7688b..45d44c173cf9 100644 --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c | |||
@@ -234,7 +234,7 @@ | |||
234 | #include <linux/i8253.h> | 234 | #include <linux/i8253.h> |
235 | #include <linux/cpuidle.h> | 235 | #include <linux/cpuidle.h> |
236 | 236 | ||
237 | #include <asm/uaccess.h> | 237 | #include <linux/uaccess.h> |
238 | #include <asm/desc.h> | 238 | #include <asm/desc.h> |
239 | #include <asm/olpc.h> | 239 | #include <asm/olpc.h> |
240 | #include <asm/paravirt.h> | 240 | #include <asm/paravirt.h> |
diff --git a/arch/x86/kernel/cpu/mcheck/mce-severity.c b/arch/x86/kernel/cpu/mcheck/mce-severity.c index c7efbcfbeda6..87cc9ab7a13c 100644 --- a/arch/x86/kernel/cpu/mcheck/mce-severity.c +++ b/arch/x86/kernel/cpu/mcheck/mce-severity.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/debugfs.h> | 15 | #include <linux/debugfs.h> |
16 | #include <asm/mce.h> | 16 | #include <asm/mce.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "mce-internal.h" | 19 | #include "mce-internal.h" |
20 | 20 | ||
diff --git a/arch/x86/kernel/crash_dump_32.c b/arch/x86/kernel/crash_dump_32.c index 11891ca7b716..538fedea9b3f 100644 --- a/arch/x86/kernel/crash_dump_32.c +++ b/arch/x86/kernel/crash_dump_32.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/highmem.h> | 10 | #include <linux/highmem.h> |
11 | #include <linux/crash_dump.h> | 11 | #include <linux/crash_dump.h> |
12 | 12 | ||
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | static void *kdump_buf_page; | 15 | static void *kdump_buf_page; |
16 | 16 | ||
diff --git a/arch/x86/kernel/doublefault.c b/arch/x86/kernel/doublefault.c index f6dfd9334b67..b2f7207ba86c 100644 --- a/arch/x86/kernel/doublefault.c +++ b/arch/x86/kernel/doublefault.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <linux/init_task.h> | 3 | #include <linux/init_task.h> |
4 | #include <linux/fs.h> | 4 | #include <linux/fs.h> |
5 | 5 | ||
6 | #include <asm/uaccess.h> | 6 | #include <linux/uaccess.h> |
7 | #include <asm/pgtable.h> | 7 | #include <asm/pgtable.h> |
8 | #include <asm/processor.h> | 8 | #include <asm/processor.h> |
9 | #include <asm/desc.h> | 9 | #include <asm/desc.h> |
diff --git a/arch/x86/kernel/kprobes/core.c b/arch/x86/kernel/kprobes/core.c index d9d8d16b69db..eb3509338ae0 100644 --- a/arch/x86/kernel/kprobes/core.c +++ b/arch/x86/kernel/kprobes/core.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <asm/cacheflush.h> | 56 | #include <asm/cacheflush.h> |
57 | #include <asm/desc.h> | 57 | #include <asm/desc.h> |
58 | #include <asm/pgtable.h> | 58 | #include <asm/pgtable.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | #include <asm/alternative.h> | 60 | #include <asm/alternative.h> |
61 | #include <asm/insn.h> | 61 | #include <asm/insn.h> |
62 | #include <asm/debugreg.h> | 62 | #include <asm/debugreg.h> |
diff --git a/arch/x86/kernel/kprobes/opt.c b/arch/x86/kernel/kprobes/opt.c index 3bb4c5f021f6..3d1bee9d6a72 100644 --- a/arch/x86/kernel/kprobes/opt.c +++ b/arch/x86/kernel/kprobes/opt.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/cacheflush.h> | 33 | #include <asm/cacheflush.h> |
34 | #include <asm/desc.h> | 34 | #include <asm/desc.h> |
35 | #include <asm/pgtable.h> | 35 | #include <asm/pgtable.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <asm/alternative.h> | 37 | #include <asm/alternative.h> |
38 | #include <asm/insn.h> | 38 | #include <asm/insn.h> |
39 | #include <asm/debugreg.h> | 39 | #include <asm/debugreg.h> |
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 37363e46b1f0..b615a1113f58 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/cpu.h> | 23 | #include <asm/cpu.h> |
24 | #include <asm/apic.h> | 24 | #include <asm/apic.h> |
25 | #include <asm/syscalls.h> | 25 | #include <asm/syscalls.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/mwait.h> | 27 | #include <asm/mwait.h> |
28 | #include <asm/fpu/internal.h> | 28 | #include <asm/fpu/internal.h> |
29 | #include <asm/debugreg.h> | 29 | #include <asm/debugreg.h> |
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 0e63c0267f99..9cc7d5a330ef 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/export.h> | 24 | #include <linux/export.h> |
25 | #include <linux/context_tracking.h> | 25 | #include <linux/context_tracking.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/pgtable.h> | 28 | #include <asm/pgtable.h> |
29 | #include <asm/processor.h> | 29 | #include <asm/processor.h> |
30 | #include <asm/fpu/internal.h> | 30 | #include <asm/fpu/internal.h> |
diff --git a/arch/x86/kernel/test_nx.c b/arch/x86/kernel/test_nx.c index 27538f183c3b..a3b875c9e6af 100644 --- a/arch/x86/kernel/test_nx.c +++ b/arch/x86/kernel/test_nx.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/sort.h> | 13 | #include <linux/sort.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/asm.h> | 17 | #include <asm/asm.h> |
18 | 18 | ||
19 | extern int rodata_test_data; | 19 | extern int rodata_test_data; |
diff --git a/arch/x86/kernel/tls.c b/arch/x86/kernel/tls.c index 9692a5e9fdab..6c8934406dc9 100644 --- a/arch/x86/kernel/tls.c +++ b/arch/x86/kernel/tls.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <linux/regset.h> | 5 | #include <linux/regset.h> |
6 | #include <linux/syscalls.h> | 6 | #include <linux/syscalls.h> |
7 | 7 | ||
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | #include <asm/desc.h> | 9 | #include <asm/desc.h> |
10 | #include <asm/ldt.h> | 10 | #include <asm/ldt.h> |
11 | #include <asm/processor.h> | 11 | #include <asm/processor.h> |
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c index 01f30e56f99e..ec5d7545e6dc 100644 --- a/arch/x86/kernel/vm86_32.c +++ b/arch/x86/kernel/vm86_32.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | #include <linux/security.h> | 48 | #include <linux/security.h> |
49 | 49 | ||
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/tlbflush.h> | 52 | #include <asm/tlbflush.h> |
53 | #include <asm/irq.h> | 53 | #include <asm/irq.h> |
diff --git a/arch/x86/lib/usercopy_32.c b/arch/x86/lib/usercopy_32.c index 0b281217c890..1f65ff6540f0 100644 --- a/arch/x86/lib/usercopy_32.c +++ b/arch/x86/lib/usercopy_32.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/export.h> | 11 | #include <linux/export.h> |
12 | #include <linux/backing-dev.h> | 12 | #include <linux/backing-dev.h> |
13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/mmx.h> | 15 | #include <asm/mmx.h> |
16 | #include <asm/asm.h> | 16 | #include <asm/asm.h> |
17 | 17 | ||
diff --git a/arch/x86/math-emu/errors.c b/arch/x86/math-emu/errors.c index 9e6545f269e5..2ccc424a57d9 100644 --- a/arch/x86/math-emu/errors.c +++ b/arch/x86/math-emu/errors.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/signal.h> | 20 | #include <linux/signal.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include "fpu_emu.h" | 24 | #include "fpu_emu.h" |
25 | #include "fpu_system.h" | 25 | #include "fpu_system.h" |
diff --git a/arch/x86/math-emu/fpu_entry.c b/arch/x86/math-emu/fpu_entry.c index e945fedf1de2..0203baefb5c0 100644 --- a/arch/x86/math-emu/fpu_entry.c +++ b/arch/x86/math-emu/fpu_entry.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/signal.h> | 27 | #include <linux/signal.h> |
28 | #include <linux/regset.h> | 28 | #include <linux/regset.h> |
29 | 29 | ||
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/traps.h> | 31 | #include <asm/traps.h> |
32 | #include <asm/user.h> | 32 | #include <asm/user.h> |
33 | #include <asm/fpu/internal.h> | 33 | #include <asm/fpu/internal.h> |
diff --git a/arch/x86/math-emu/get_address.c b/arch/x86/math-emu/get_address.c index 8db26591d91a..b8ef9f9d2ffc 100644 --- a/arch/x86/math-emu/get_address.c +++ b/arch/x86/math-emu/get_address.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/stddef.h> | 20 | #include <linux/stddef.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/vm86.h> | 23 | #include <asm/vm86.h> |
24 | 24 | ||
25 | #include "fpu_system.h" | 25 | #include "fpu_system.h" |
diff --git a/arch/x86/math-emu/load_store.c b/arch/x86/math-emu/load_store.c index 95228ff042c0..1643054766eb 100644 --- a/arch/x86/math-emu/load_store.c +++ b/arch/x86/math-emu/load_store.c | |||
@@ -18,7 +18,7 @@ | |||
18 | | other processes using the emulator while swapping is in progress. | | 18 | | other processes using the emulator while swapping is in progress. | |
19 | +---------------------------------------------------------------------------*/ | 19 | +---------------------------------------------------------------------------*/ |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "fpu_system.h" | 23 | #include "fpu_system.h" |
24 | #include "exception.h" | 24 | #include "exception.h" |
diff --git a/arch/x86/math-emu/reg_ld_str.c b/arch/x86/math-emu/reg_ld_str.c index d597fe7423c9..2c98965a60ba 100644 --- a/arch/x86/math-emu/reg_ld_str.c +++ b/arch/x86/math-emu/reg_ld_str.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include "fpu_emu.h" | 20 | #include "fpu_emu.h" |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include "fpu_system.h" | 24 | #include "fpu_system.h" |
25 | #include "exception.h" | 25 | #include "exception.h" |
diff --git a/arch/x86/mm/extable.c b/arch/x86/mm/extable.c index fcd06f7526de..61a7e9ea9aa1 100644 --- a/arch/x86/mm/extable.c +++ b/arch/x86/mm/extable.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include <linux/extable.h> | 1 | #include <linux/extable.h> |
2 | #include <asm/uaccess.h> | 2 | #include <linux/uaccess.h> |
3 | #include <asm/traps.h> | 3 | #include <asm/traps.h> |
4 | #include <asm/kdebug.h> | 4 | #include <asm/kdebug.h> |
5 | 5 | ||
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index cf8059016ec8..928d657de829 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/asm.h> | 34 | #include <asm/asm.h> |
35 | #include <asm/bios_ebda.h> | 35 | #include <asm/bios_ebda.h> |
36 | #include <asm/processor.h> | 36 | #include <asm/processor.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
39 | #include <asm/dma.h> | 39 | #include <asm/dma.h> |
40 | #include <asm/fixmap.h> | 40 | #include <asm/fixmap.h> |
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 963895f9af7f..af85b686a7b0 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <asm/processor.h> | 37 | #include <asm/processor.h> |
38 | #include <asm/bios_ebda.h> | 38 | #include <asm/bios_ebda.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/pgtable.h> | 40 | #include <asm/pgtable.h> |
41 | #include <asm/pgalloc.h> | 41 | #include <asm/pgalloc.h> |
42 | #include <asm/dma.h> | 42 | #include <asm/dma.h> |
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index e3353c97d086..5a287e523eab 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/tlbflush.h> | 20 | #include <asm/tlbflush.h> |
21 | #include <asm/sections.h> | 21 | #include <asm/sections.h> |
22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/pgalloc.h> | 24 | #include <asm/pgalloc.h> |
25 | #include <asm/proto.h> | 25 | #include <asm/proto.h> |
26 | #include <asm/pat.h> | 26 | #include <asm/pat.h> |
diff --git a/arch/x86/um/ptrace_32.c b/arch/x86/um/ptrace_32.c index 60a5a5a85505..2497bac56066 100644 --- a/arch/x86/um/ptrace_32.c +++ b/arch/x86/um/ptrace_32.c | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | #include <linux/mm.h> | 6 | #include <linux/mm.h> |
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <asm/uaccess.h> | 8 | #include <linux/uaccess.h> |
9 | #include <asm/ptrace-abi.h> | 9 | #include <asm/ptrace-abi.h> |
10 | #include <skas.h> | 10 | #include <skas.h> |
11 | 11 | ||
diff --git a/arch/x86/um/ptrace_64.c b/arch/x86/um/ptrace_64.c index e30202b1716e..a5c9910d234f 100644 --- a/arch/x86/um/ptrace_64.c +++ b/arch/x86/um/ptrace_64.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
11 | #define __FRAME_OFFSETS | 11 | #define __FRAME_OFFSETS |
12 | #include <asm/ptrace.h> | 12 | #include <asm/ptrace.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <asm/ptrace-abi.h> | 14 | #include <asm/ptrace-abi.h> |
15 | 15 | ||
16 | /* | 16 | /* |
diff --git a/arch/x86/um/signal.c b/arch/x86/um/signal.c index 49e503697022..727ed442e0a5 100644 --- a/arch/x86/um/signal.c +++ b/arch/x86/um/signal.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/ptrace.h> | 9 | #include <linux/ptrace.h> |
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <asm/unistd.h> | 11 | #include <asm/unistd.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <asm/ucontext.h> | 13 | #include <asm/ucontext.h> |
14 | #include <frame_kern.h> | 14 | #include <frame_kern.h> |
15 | #include <skas.h> | 15 | #include <skas.h> |
diff --git a/arch/x86/um/tls_32.c b/arch/x86/um/tls_32.c index 48e38584d5c1..5bd949da7a4a 100644 --- a/arch/x86/um/tls_32.c +++ b/arch/x86/um/tls_32.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <linux/percpu.h> | 6 | #include <linux/percpu.h> |
7 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
8 | #include <linux/syscalls.h> | 8 | #include <linux/syscalls.h> |
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | #include <asm/ptrace-abi.h> | 10 | #include <asm/ptrace-abi.h> |
11 | #include <os.h> | 11 | #include <os.h> |
12 | #include <skas.h> | 12 | #include <skas.h> |
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index 37129db76d33..276da636dd39 100644 --- a/arch/x86/xen/p2m.c +++ b/arch/x86/xen/p2m.c | |||
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <asm/cache.h> | 72 | #include <asm/cache.h> |
73 | #include <asm/setup.h> | 73 | #include <asm/setup.h> |
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <asm/xen/page.h> | 76 | #include <asm/xen/page.h> |
77 | #include <asm/xen/hypercall.h> | 77 | #include <asm/xen/hypercall.h> |
diff --git a/arch/xtensa/include/asm/checksum.h b/arch/xtensa/include/asm/checksum.h index ec35074fcb03..3ae74d7e074b 100644 --- a/arch/xtensa/include/asm/checksum.h +++ b/arch/xtensa/include/asm/checksum.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define _XTENSA_CHECKSUM_H | 12 | #define _XTENSA_CHECKSUM_H |
13 | 13 | ||
14 | #include <linux/in6.h> | 14 | #include <linux/in6.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <variant/core.h> | 16 | #include <variant/core.h> |
17 | 17 | ||
18 | /* | 18 | /* |
diff --git a/arch/xtensa/include/asm/segment.h b/arch/xtensa/include/asm/segment.h index a2eb547a1a75..98964ad15ca2 100644 --- a/arch/xtensa/include/asm/segment.h +++ b/arch/xtensa/include/asm/segment.h | |||
@@ -11,6 +11,6 @@ | |||
11 | #ifndef _XTENSA_SEGMENT_H | 11 | #ifndef _XTENSA_SEGMENT_H |
12 | #define _XTENSA_SEGMENT_H | 12 | #define _XTENSA_SEGMENT_H |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | 15 | ||
16 | #endif /* _XTENSA_SEGEMENT_H */ | 16 | #endif /* _XTENSA_SEGEMENT_H */ |
diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c index 8e10e357ee32..bcb5beb81177 100644 --- a/arch/xtensa/kernel/asm-offsets.c +++ b/arch/xtensa/kernel/asm-offsets.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/ptrace.h> | 25 | #include <asm/ptrace.h> |
26 | #include <asm/traps.h> | 26 | #include <asm/traps.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | int main(void) | 29 | int main(void) |
30 | { | 30 | { |
diff --git a/arch/xtensa/kernel/irq.c b/arch/xtensa/kernel/irq.c index 4ac3d23161cf..a265edd6ac37 100644 --- a/arch/xtensa/kernel/irq.c +++ b/arch/xtensa/kernel/irq.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/of.h> | 25 | #include <linux/of.h> |
26 | 26 | ||
27 | #include <asm/mxregs.h> | 27 | #include <asm/mxregs.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/platform.h> | 29 | #include <asm/platform.h> |
30 | 30 | ||
31 | DECLARE_PER_CPU(unsigned long, nmi_count); | 31 | DECLARE_PER_CPU(unsigned long, nmi_count); |
diff --git a/arch/xtensa/kernel/process.c b/arch/xtensa/kernel/process.c index e0ded48561db..826d25104846 100644 --- a/arch/xtensa/kernel/process.c +++ b/arch/xtensa/kernel/process.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/rcupdate.h> | 35 | #include <linux/rcupdate.h> |
36 | 36 | ||
37 | #include <asm/pgtable.h> | 37 | #include <asm/pgtable.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
40 | #include <asm/processor.h> | 40 | #include <asm/processor.h> |
41 | #include <asm/platform.h> | 41 | #include <asm/platform.h> |
diff --git a/arch/xtensa/kernel/ptrace.c b/arch/xtensa/kernel/ptrace.c index a651f3a628ee..32519b71d914 100644 --- a/arch/xtensa/kernel/ptrace.c +++ b/arch/xtensa/kernel/ptrace.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
31 | #include <asm/ptrace.h> | 31 | #include <asm/ptrace.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | 34 | ||
35 | void user_enable_single_step(struct task_struct *child) | 35 | void user_enable_single_step(struct task_struct *child) |
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c index e87adaa07ff3..c41294745731 100644 --- a/arch/xtensa/kernel/signal.c +++ b/arch/xtensa/kernel/signal.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/tracehook.h> | 22 | #include <linux/tracehook.h> |
23 | 23 | ||
24 | #include <asm/ucontext.h> | 24 | #include <asm/ucontext.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
27 | #include <asm/coprocessor.h> | 27 | #include <asm/coprocessor.h> |
28 | #include <asm/unistd.h> | 28 | #include <asm/unistd.h> |
diff --git a/arch/xtensa/kernel/stacktrace.c b/arch/xtensa/kernel/stacktrace.c index 7538d802b65a..e7d30ee0fd48 100644 --- a/arch/xtensa/kernel/stacktrace.c +++ b/arch/xtensa/kernel/stacktrace.c | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | #include <asm/stacktrace.h> | 15 | #include <asm/stacktrace.h> |
16 | #include <asm/traps.h> | 16 | #include <asm/traps.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #if IS_ENABLED(CONFIG_OPROFILE) || IS_ENABLED(CONFIG_PERF_EVENTS) | 19 | #if IS_ENABLED(CONFIG_OPROFILE) || IS_ENABLED(CONFIG_PERF_EVENTS) |
20 | 20 | ||
diff --git a/arch/xtensa/kernel/syscall.c b/arch/xtensa/kernel/syscall.c index 83cf49685373..d3fd100dffc9 100644 --- a/arch/xtensa/kernel/syscall.c +++ b/arch/xtensa/kernel/syscall.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * Kevin Chea | 15 | * Kevin Chea |
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/syscall.h> | 19 | #include <asm/syscall.h> |
20 | #include <asm/unistd.h> | 20 | #include <asm/unistd.h> |
21 | #include <linux/linkage.h> | 21 | #include <linux/linkage.h> |
diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c index ce37d5b899fe..282bf721a4d6 100644 --- a/arch/xtensa/kernel/traps.c +++ b/arch/xtensa/kernel/traps.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/stacktrace.h> | 35 | #include <asm/stacktrace.h> |
36 | #include <asm/ptrace.h> | 36 | #include <asm/ptrace.h> |
37 | #include <asm/timex.h> | 37 | #include <asm/timex.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
40 | #include <asm/processor.h> | 40 | #include <asm/processor.h> |
41 | #include <asm/traps.h> | 41 | #include <asm/traps.h> |
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index 4d2872fd9bb5..d159e9b9c018 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/irq.h> | 19 | #include <asm/irq.h> |
20 | #include <linux/in6.h> | 20 | #include <linux/in6.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <asm/cacheflush.h> | 23 | #include <asm/cacheflush.h> |
24 | #include <asm/checksum.h> | 24 | #include <asm/checksum.h> |
25 | #include <asm/dma.h> | 25 | #include <asm/dma.h> |
diff --git a/arch/xtensa/platforms/iss/console.c b/arch/xtensa/platforms/iss/console.c index c68f1e6158aa..0140a22551c8 100644 --- a/arch/xtensa/platforms/iss/console.c +++ b/arch/xtensa/platforms/iss/console.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/seq_file.h> | 20 | #include <linux/seq_file.h> |
21 | #include <linux/serial.h> | 21 | #include <linux/serial.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
25 | 25 | ||
26 | #include <platform/simcall.h> | 26 | #include <platform/simcall.h> |
diff --git a/arch/xtensa/platforms/iss/simdisk.c b/arch/xtensa/platforms/iss/simdisk.c index ede04cca30dd..02e94bb3ad3e 100644 --- a/arch/xtensa/platforms/iss/simdisk.c +++ b/arch/xtensa/platforms/iss/simdisk.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/blkdev.h> | 17 | #include <linux/blkdev.h> |
18 | #include <linux/bio.h> | 18 | #include <linux/bio.h> |
19 | #include <linux/proc_fs.h> | 19 | #include <linux/proc_fs.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <platform/simcall.h> | 21 | #include <platform/simcall.h> |
22 | 22 | ||
23 | #define SIMDISK_MAJOR 240 | 23 | #define SIMDISK_MAJOR 240 |
diff --git a/block/ioctl.c b/block/ioctl.c index 656c8c6ed206..be7f4de3eb3c 100644 --- a/block/ioctl.c +++ b/block/ioctl.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/fs.h> | 8 | #include <linux/fs.h> |
9 | #include <linux/blktrace_api.h> | 9 | #include <linux/blktrace_api.h> |
10 | #include <linux/pr.h> | 10 | #include <linux/pr.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) | 13 | static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) |
14 | { | 14 | { |
diff --git a/block/partitions/ibm.c b/block/partitions/ibm.c index 47a61474e795..14b081af8d61 100644 --- a/block/partitions/ibm.c +++ b/block/partitions/ibm.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | #include <asm/dasd.h> | 11 | #include <asm/dasd.h> |
12 | #include <asm/ebcdic.h> | 12 | #include <asm/ebcdic.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <asm/vtoc.h> | 14 | #include <asm/vtoc.h> |
15 | 15 | ||
16 | #include "check.h" | 16 | #include "check.h" |
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index c6fee7437be4..c2b64923ab66 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/times.h> | 29 | #include <linux/times.h> |
30 | #include <linux/uio.h> | 30 | #include <linux/uio.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | #include <scsi/scsi.h> | 33 | #include <scsi/scsi.h> |
34 | #include <scsi/scsi_ioctl.h> | 34 | #include <scsi/scsi_ioctl.h> |
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c index 201292e67ee8..d00bc0ef87a6 100644 --- a/drivers/acpi/acpi_video.c +++ b/drivers/acpi/acpi_video.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/suspend.h> | 37 | #include <linux/suspend.h> |
38 | #include <linux/acpi.h> | 38 | #include <linux/acpi.h> |
39 | #include <acpi/video.h> | 39 | #include <acpi/video.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #define PREFIX "ACPI: " | 42 | #define PREFIX "ACPI: " |
43 | 43 | ||
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 05fe9ebfb9b5..4ef1e4624b2b 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #ifdef CONFIG_ACPI_PROCFS_POWER | 36 | #ifdef CONFIG_ACPI_PROCFS_POWER |
37 | #include <linux/proc_fs.h> | 37 | #include <linux/proc_fs.h> |
38 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #include <linux/acpi.h> | 42 | #include <linux/acpi.h> |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index a404ff4d7151..57fb5f468ac2 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/semaphore.h> | 42 | #include <linux/semaphore.h> |
43 | 43 | ||
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/io-64-nonatomic-lo-hi.h> | 46 | #include <linux/io-64-nonatomic-lo-hi.h> |
47 | 47 | ||
48 | #include "internal.h" | 48 | #include "internal.h" |
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 2a358154b770..a34669cc823b 100644 --- a/drivers/acpi/proc.c +++ b/drivers/acpi/proc.c | |||
@@ -4,7 +4,7 @@ | |||
4 | #include <linux/suspend.h> | 4 | #include <linux/suspend.h> |
5 | #include <linux/bcd.h> | 5 | #include <linux/bcd.h> |
6 | #include <linux/acpi.h> | 6 | #include <linux/acpi.h> |
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | 8 | ||
9 | #include "sleep.h" | 9 | #include "sleep.h" |
10 | #include "internal.h" | 10 | #include "internal.h" |
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index 1fed84a092c2..59c3a5d1e600 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/cpufreq.h> | 28 | #include <linux/cpufreq.h> |
29 | #include <linux/acpi.h> | 29 | #include <linux/acpi.h> |
30 | #include <acpi/processor.h> | 30 | #include <acpi/processor.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | #define PREFIX "ACPI: " | 33 | #define PREFIX "ACPI: " |
34 | 34 | ||
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index d51ca1c05619..a12f96cc93ff 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/acpi.h> | 31 | #include <linux/acpi.h> |
32 | #include <acpi/processor.h> | 32 | #include <acpi/processor.h> |
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #define PREFIX "ACPI: " | 36 | #define PREFIX "ACPI: " |
37 | 37 | ||
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 35e8fbca10ad..1d0417b87cb7 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/thermal.h> | 40 | #include <linux/thermal.h> |
41 | #include <linux/acpi.h> | 41 | #include <linux/acpi.h> |
42 | #include <linux/workqueue.h> | 42 | #include <linux/workqueue.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #define PREFIX "ACPI: " | 45 | #define PREFIX "ACPI: " |
46 | 46 | ||
diff --git a/drivers/atm/adummy.c b/drivers/atm/adummy.c index f9b983ae6877..1fd25e872ece 100644 --- a/drivers/atm/adummy.c +++ b/drivers/atm/adummy.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include <linux/atmdev.h> | 21 | #include <linux/atmdev.h> |
22 | #include <linux/atm.h> | 22 | #include <linux/atm.h> |
diff --git a/drivers/atm/atmtcp.c b/drivers/atm/atmtcp.c index 480fa6ffbc09..3ef6253e1cce 100644 --- a/drivers/atm/atmtcp.c +++ b/drivers/atm/atmtcp.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/bitops.h> | 10 | #include <linux/bitops.h> |
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/atomic.h> | 14 | #include <linux/atomic.h> |
15 | 15 | ||
16 | 16 | ||
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c index 40c2d561417b..c53a9dd1353f 100644 --- a/drivers/atm/eni.c +++ b/drivers/atm/eni.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/string.h> | 25 | #include <asm/string.h> |
26 | #include <asm/byteorder.h> | 26 | #include <asm/byteorder.h> |
27 | 27 | ||
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 85aaf2222587..80c2ddcfa92c 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <asm/string.h> | 52 | #include <asm/string.h> |
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <linux/atomic.h> | 54 | #include <linux/atomic.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <linux/wait.h> | 56 | #include <linux/wait.h> |
57 | 57 | ||
58 | #include "firestream.h" | 58 | #include "firestream.h" |
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 81aaa505862c..637c3e6b0f9e 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <asm/irq.h> | 43 | #include <asm/irq.h> |
44 | #include <asm/dma.h> | 44 | #include <asm/dma.h> |
45 | #include <asm/byteorder.h> | 45 | #include <asm/byteorder.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <linux/atomic.h> | 47 | #include <linux/atomic.h> |
48 | 48 | ||
49 | #ifdef CONFIG_SBUS | 49 | #ifdef CONFIG_SBUS |
diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 31b513a23ae0..3617659b9184 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c | |||
@@ -71,7 +71,7 @@ | |||
71 | #include <linux/slab.h> | 71 | #include <linux/slab.h> |
72 | #include <asm/io.h> | 72 | #include <asm/io.h> |
73 | #include <asm/byteorder.h> | 73 | #include <asm/byteorder.h> |
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <linux/atmdev.h> | 76 | #include <linux/atmdev.h> |
77 | #include <linux/atm.h> | 77 | #include <linux/atm.h> |
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index 5fc81e240c24..584aa881882b 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | #include <asm/io.h> | 46 | #include <asm/io.h> |
47 | #include <linux/atomic.h> | 47 | #include <linux/atomic.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/string.h> | 49 | #include <asm/string.h> |
50 | #include <asm/byteorder.h> | 50 | #include <asm/byteorder.h> |
51 | 51 | ||
diff --git a/drivers/atm/idt77105.c b/drivers/atm/idt77105.c index feb023d7eebd..082aa02abc57 100644 --- a/drivers/atm/idt77105.c +++ b/drivers/atm/idt77105.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <asm/param.h> | 19 | #include <asm/param.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include "idt77105.h" | 22 | #include "idt77105.h" |
23 | 23 | ||
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index 074616b39f4d..471ddfd93ea8 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/slab.h> | 45 | #include <linux/slab.h> |
46 | 46 | ||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <linux/atomic.h> | 49 | #include <linux/atomic.h> |
50 | #include <asm/byteorder.h> | 50 | #include <asm/byteorder.h> |
51 | 51 | ||
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index b2756765950e..8640bafeb471 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/slab.h> | 58 | #include <linux/slab.h> |
59 | #include <asm/io.h> | 59 | #include <asm/io.h> |
60 | #include <linux/atomic.h> | 60 | #include <linux/atomic.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | #include <asm/string.h> | 62 | #include <asm/string.h> |
63 | #include <asm/byteorder.h> | 63 | #include <asm/byteorder.h> |
64 | #include <linux/vmalloc.h> | 64 | #include <linux/vmalloc.h> |
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c index c7296b583787..cb28579e8a94 100644 --- a/drivers/atm/nicstar.c +++ b/drivers/atm/nicstar.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/slab.h> | 50 | #include <linux/slab.h> |
51 | #include <linux/idr.h> | 51 | #include <linux/idr.h> |
52 | #include <asm/io.h> | 52 | #include <asm/io.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | #include <linux/atomic.h> | 54 | #include <linux/atomic.h> |
55 | #include <linux/etherdevice.h> | 55 | #include <linux/etherdevice.h> |
56 | #include "nicstar.h" | 56 | #include "nicstar.h" |
diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c index 02159345566c..b0363149b2fd 100644 --- a/drivers/atm/suni.c +++ b/drivers/atm/suni.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/atm_suni.h> | 23 | #include <linux/atm_suni.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <asm/param.h> | 25 | #include <asm/param.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/atomic.h> | 27 | #include <linux/atomic.h> |
28 | 28 | ||
29 | #include "suni.h" | 29 | #include "suni.h" |
diff --git a/drivers/atm/uPD98402.c b/drivers/atm/uPD98402.c index 5120a96b3a89..4fa13a807873 100644 --- a/drivers/atm/uPD98402.c +++ b/drivers/atm/uPD98402.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/sonet.h> | 10 | #include <linux/sonet.h> |
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/atomic.h> | 14 | #include <linux/atomic.h> |
15 | 15 | ||
16 | #include "uPD98402.h" | 16 | #include "uPD98402.h" |
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index d3dc95484161..292dec18ffb8 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <asm/string.h> | 27 | #include <asm/string.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <linux/atomic.h> | 29 | #include <linux/atomic.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | 31 | ||
32 | #include "uPD98401.h" | 32 | #include "uPD98401.h" |
33 | #include "uPD98402.h" | 33 | #include "uPD98402.h" |
diff --git a/drivers/base/memory.c b/drivers/base/memory.c index bb69e58c29f3..8ab8ea1253e6 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | 24 | ||
25 | #include <linux/atomic.h> | 25 | #include <linux/atomic.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | static DEFINE_MUTEX(mem_sysfs_mutex); | 28 | static DEFINE_MUTEX(mem_sysfs_mutex); |
29 | 29 | ||
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index 0809cda93cc0..26a51be77227 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/random.h> | 48 | #include <linux/random.h> |
49 | #include <linux/scatterlist.h> | 49 | #include <linux/scatterlist.h> |
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include "DAC960.h" | 52 | #include "DAC960.h" |
53 | 53 | ||
54 | #define DAC960_GAM_MINOR 252 | 54 | #define DAC960_GAM_MINOR 252 |
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index 5fd50a284168..a328f673adfe 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/platform_device.h> | 70 | #include <linux/platform_device.h> |
71 | 71 | ||
72 | #include <asm/setup.h> | 72 | #include <asm/setup.h> |
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | #include <asm/amigahw.h> | 74 | #include <asm/amigahw.h> |
75 | #include <asm/amigaints.h> | 75 | #include <asm/amigaints.h> |
76 | #include <asm/irq.h> | 76 | #include <asm/irq.h> |
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index ad793f35632c..3adc32a3153b 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/pfn_t.h> | 23 | #include <linux/pfn_t.h> |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #define SECTOR_SHIFT 9 | 28 | #define SECTOR_SHIFT 9 |
29 | #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) | 29 | #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) |
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index db9d6bb6352d..e5c5b8eb14a9 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/mutex.h> | 43 | #include <linux/mutex.h> |
44 | #include <linux/bitmap.h> | 44 | #include <linux/bitmap.h> |
45 | #include <linux/io.h> | 45 | #include <linux/io.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include <linux/dma-mapping.h> | 48 | #include <linux/dma-mapping.h> |
49 | #include <linux/blkdev.h> | 49 | #include <linux/blkdev.h> |
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c index 3d31761c0ed0..74e03aa537ad 100644 --- a/drivers/block/cryptoloop.c +++ b/drivers/block/cryptoloop.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/string.h> | 26 | #include <linux/string.h> |
27 | #include <linux/blkdev.h> | 27 | #include <linux/blkdev.h> |
28 | #include <linux/scatterlist.h> | 28 | #include <linux/scatterlist.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include "loop.h" | 30 | #include "loop.h" |
31 | 31 | ||
32 | MODULE_LICENSE("GPL"); | 32 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/block/hd.c b/drivers/block/hd.c index 3abb121825bc..a9b48ed7a3cd 100644 --- a/drivers/block/hd.c +++ b/drivers/block/hd.c | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | #define REALLY_SLOW_IO | 46 | #define REALLY_SLOW_IO |
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | 49 | ||
50 | #ifdef __arm__ | 50 | #ifdef __arm__ |
51 | #undef HD_IRQ | 51 | #undef HD_IRQ |
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 4af818766797..f347285c67ec 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c | |||
@@ -78,7 +78,7 @@ | |||
78 | #include <linux/uio.h> | 78 | #include <linux/uio.h> |
79 | #include "loop.h" | 79 | #include "loop.h" |
80 | 80 | ||
81 | #include <asm/uaccess.h> | 81 | #include <linux/uaccess.h> |
82 | 82 | ||
83 | static DEFINE_IDR(loop_index_idr); | 83 | static DEFINE_IDR(loop_index_idr); |
84 | static DEFINE_MUTEX(loop_index_mutex); | 84 | static DEFINE_MUTEX(loop_index_mutex); |
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 99c84468f154..38c576f76d36 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/debugfs.h> | 36 | #include <linux/debugfs.h> |
37 | #include <linux/blk-mq.h> | 37 | #include <linux/blk-mq.h> |
38 | 38 | ||
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/types.h> | 40 | #include <asm/types.h> |
41 | 41 | ||
42 | #include <linux/nbd.h> | 42 | #include <linux/nbd.h> |
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 93362362aa55..5fd2d0e25567 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -139,7 +139,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY}; | |||
139 | #include <linux/spinlock.h> | 139 | #include <linux/spinlock.h> |
140 | #include <linux/blkdev.h> | 140 | #include <linux/blkdev.h> |
141 | #include <linux/mutex.h> | 141 | #include <linux/mutex.h> |
142 | #include <asm/uaccess.h> | 142 | #include <linux/uaccess.h> |
143 | 143 | ||
144 | static DEFINE_MUTEX(pcd_mutex); | 144 | static DEFINE_MUTEX(pcd_mutex); |
145 | static DEFINE_SPINLOCK(pcd_lock); | 145 | static DEFINE_SPINLOCK(pcd_lock); |
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 78a39f736c64..c3ed2fc72daa 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -155,7 +155,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_GEO, D_SBY, D_DLY, D_SLV}; | |||
155 | #include <linux/blkpg.h> | 155 | #include <linux/blkpg.h> |
156 | #include <linux/kernel.h> | 156 | #include <linux/kernel.h> |
157 | #include <linux/mutex.h> | 157 | #include <linux/mutex.h> |
158 | #include <asm/uaccess.h> | 158 | #include <linux/uaccess.h> |
159 | #include <linux/workqueue.h> | 159 | #include <linux/workqueue.h> |
160 | 160 | ||
161 | static DEFINE_MUTEX(pd_mutex); | 161 | static DEFINE_MUTEX(pd_mutex); |
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 7a7d977a76c5..ed93e8badf56 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -155,7 +155,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_LUN, D_DLY}; | |||
155 | #include <linux/blkdev.h> | 155 | #include <linux/blkdev.h> |
156 | #include <linux/blkpg.h> | 156 | #include <linux/blkpg.h> |
157 | #include <linux/mutex.h> | 157 | #include <linux/mutex.h> |
158 | #include <asm/uaccess.h> | 158 | #include <linux/uaccess.h> |
159 | 159 | ||
160 | static DEFINE_MUTEX(pf_mutex); | 160 | static DEFINE_MUTEX(pf_mutex); |
161 | static DEFINE_SPINLOCK(pf_spin_lock); | 161 | static DEFINE_SPINLOCK(pf_spin_lock); |
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index bfbd4c852dd9..5db955fe3a94 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c | |||
@@ -166,7 +166,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY}; | |||
166 | #include <linux/mutex.h> | 166 | #include <linux/mutex.h> |
167 | #include <linux/jiffies.h> | 167 | #include <linux/jiffies.h> |
168 | 168 | ||
169 | #include <asm/uaccess.h> | 169 | #include <linux/uaccess.h> |
170 | 170 | ||
171 | module_param(verbose, int, 0644); | 171 | module_param(verbose, int, 0644); |
172 | module_param(major, int, 0); | 172 | module_param(major, int, 0); |
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c index 216a94fed5b4..61fc6824299a 100644 --- a/drivers/block/paride/pt.c +++ b/drivers/block/paride/pt.c | |||
@@ -150,7 +150,7 @@ static int (*drives[4])[6] = {&drive0, &drive1, &drive2, &drive3}; | |||
150 | #include <linux/sched.h> /* current, TASK_*, schedule_timeout() */ | 150 | #include <linux/sched.h> /* current, TASK_*, schedule_timeout() */ |
151 | #include <linux/mutex.h> | 151 | #include <linux/mutex.h> |
152 | 152 | ||
153 | #include <asm/uaccess.h> | 153 | #include <linux/uaccess.h> |
154 | 154 | ||
155 | module_param(verbose, int, 0); | 155 | module_param(verbose, int, 0); |
156 | module_param(major, int, 0); | 156 | module_param(major, int, 0); |
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 95c98de92971..1b94c1ca5c5f 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/debugfs.h> | 68 | #include <linux/debugfs.h> |
69 | #include <linux/device.h> | 69 | #include <linux/device.h> |
70 | 70 | ||
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | 72 | ||
73 | #define DRIVER_NAME "pktcdvd" | 73 | #define DRIVER_NAME "pktcdvd" |
74 | 74 | ||
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index c264f2d284a7..aabd8e9d3035 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #include <asm/dbdma.h> | 35 | #include <asm/dbdma.h> |
36 | #include <asm/prom.h> | 36 | #include <asm/prom.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/mediabay.h> | 38 | #include <asm/mediabay.h> |
39 | #include <asm/machdep.h> | 39 | #include <asm/machdep.h> |
40 | #include <asm/pmac_feature.h> | 40 | #include <asm/pmac_feature.h> |
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index ba4bfe933276..0e93ad7b8511 100644 --- a/drivers/block/sx8.c +++ b/drivers/block/sx8.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/completion.h> | 29 | #include <linux/completion.h> |
30 | #include <linux/scatterlist.h> | 30 | #include <linux/scatterlist.h> |
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #if 0 | 34 | #if 0 |
35 | #define CARM_DEBUG | 35 | #define CARM_DEBUG |
diff --git a/drivers/block/umem.c b/drivers/block/umem.c index 46f4c719fed9..c141cc3be22b 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | #include "umem.h" | 55 | #include "umem.h" |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/io.h> | 58 | #include <asm/io.h> |
59 | 59 | ||
60 | #define MM_MAXCARDS 4 | 60 | #define MM_MAXCARDS 4 |
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 5d475b3a0b2e..59cca72647a6 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
@@ -282,7 +282,7 @@ | |||
282 | #include <linux/blkdev.h> | 282 | #include <linux/blkdev.h> |
283 | #include <linux/times.h> | 283 | #include <linux/times.h> |
284 | 284 | ||
285 | #include <asm/uaccess.h> | 285 | #include <linux/uaccess.h> |
286 | 286 | ||
287 | /* used to tell the module to turn on full debugging messages */ | 287 | /* used to tell the module to turn on full debugging messages */ |
288 | static bool debug; | 288 | static bool debug; |
diff --git a/drivers/char/agp/compat_ioctl.c b/drivers/char/agp/compat_ioctl.c index a48e05b31593..2053f70ef66b 100644 --- a/drivers/char/agp/compat_ioctl.c +++ b/drivers/char/agp/compat_ioctl.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/fs.h> | 31 | #include <linux/fs.h> |
32 | #include <linux/agpgart.h> | 32 | #include <linux/agpgart.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include "agp.h" | 35 | #include "agp.h" |
36 | #include "compat_ioctl.h" | 36 | #include "compat_ioctl.h" |
37 | 37 | ||
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 0f64d149c98d..f6955888e676 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/mm.h> | 38 | #include <linux/mm.h> |
39 | #include <linux/fs.h> | 39 | #include <linux/fs.h> |
40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
43 | #include "agp.h" | 43 | #include "agp.h" |
44 | 44 | ||
diff --git a/drivers/char/applicom.c b/drivers/char/applicom.c index 14790304b84b..e5c62dcf2c11 100644 --- a/drivers/char/applicom.c +++ b/drivers/char/applicom.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/fs.h> | 34 | #include <linux/fs.h> |
35 | 35 | ||
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | #include "applicom.h" | 39 | #include "applicom.h" |
40 | 40 | ||
diff --git a/drivers/char/bfin-otp.c b/drivers/char/bfin-otp.c index 35d46da754d7..0584025bb0c2 100644 --- a/drivers/char/bfin-otp.c +++ b/drivers/char/bfin-otp.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <asm/blackfin.h> | 21 | #include <asm/blackfin.h> |
22 | #include <asm/bfrom.h> | 22 | #include <asm/bfrom.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args) | 25 | #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args) |
26 | #define stampit() stamp("here i am") | 26 | #define stampit() stamp("here i am") |
diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index 0fae5296e311..eb53cbadb68f 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <mach/hardware.h> | 14 | #include <mach/hardware.h> |
15 | #include <asm/mach-types.h> | 15 | #include <asm/mach-types.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/therm.h> | 17 | #include <asm/therm.h> |
18 | 18 | ||
19 | #ifdef CONFIG_PROC_FS | 19 | #ifdef CONFIG_PROC_FS |
diff --git a/drivers/char/dtlk.c b/drivers/char/dtlk.c index 65a8d96c0e93..58471394beb9 100644 --- a/drivers/char/dtlk.c +++ b/drivers/char/dtlk.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <linux/sched.h> | 59 | #include <linux/sched.h> |
60 | #include <linux/mutex.h> | 60 | #include <linux/mutex.h> |
61 | #include <asm/io.h> /* for inb_p, outb_p, inb, outb, etc. */ | 61 | #include <asm/io.h> /* for inb_p, outb_p, inb, outb, etc. */ |
62 | #include <asm/uaccess.h> /* for get_user, etc. */ | 62 | #include <linux/uaccess.h> /* for get_user, etc. */ |
63 | #include <linux/wait.h> /* for wait_queue */ | 63 | #include <linux/wait.h> /* for wait_queue */ |
64 | #include <linux/init.h> /* for __init, module_{init,exit} */ | 64 | #include <linux/init.h> /* for __init, module_{init,exit} */ |
65 | #include <linux/poll.h> /* for POLLIN, etc. */ | 65 | #include <linux/poll.h> /* for POLLIN, etc. */ |
diff --git a/drivers/char/generic_nvram.c b/drivers/char/generic_nvram.c index 073db9558379..14e728fbb8a0 100644 --- a/drivers/char/generic_nvram.c +++ b/drivers/char/generic_nvram.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <linux/pagemap.h> | 23 | #include <linux/pagemap.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/nvram.h> | 25 | #include <asm/nvram.h> |
26 | #ifdef CONFIG_PPC_PMAC | 26 | #ifdef CONFIG_PPC_PMAC |
27 | #include <asm/machdep.h> | 27 | #include <asm/machdep.h> |
diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c index a7c5c59675f0..4f337375252e 100644 --- a/drivers/char/hangcheck-timer.c +++ b/drivers/char/hangcheck-timer.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/reboot.h> | 46 | #include <linux/reboot.h> |
47 | #include <linux/init.h> | 47 | #include <linux/init.h> |
48 | #include <linux/delay.h> | 48 | #include <linux/delay.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <linux/sysrq.h> | 50 | #include <linux/sysrq.h> |
51 | #include <linux/timer.h> | 51 | #include <linux/timer.h> |
52 | #include <linux/hrtimer.h> | 52 | #include <linux/hrtimer.h> |
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index f9766415ff10..6ce5ce8be2f2 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
44 | #include <linux/random.h> | 44 | #include <linux/random.h> |
45 | #include <linux/err.h> | 45 | #include <linux/err.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | 48 | ||
49 | #define RNG_MODULE_NAME "hw_random" | 49 | #define RNG_MODULE_NAME "hw_random" |
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 4facc7517a6a..4035495f3a86 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/kdebug.h> | 43 | #include <linux/kdebug.h> |
44 | #include <linux/rwsem.h> | 44 | #include <linux/rwsem.h> |
45 | #include <linux/errno.h> | 45 | #include <linux/errno.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <linux/notifier.h> | 47 | #include <linux/notifier.h> |
48 | #include <linux/nmi.h> | 48 | #include <linux/nmi.h> |
49 | #include <linux/reboot.h> | 49 | #include <linux/reboot.h> |
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index c4094c4e22c1..5b6742770656 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c | |||
@@ -134,7 +134,7 @@ | |||
134 | #include <linux/lp.h> | 134 | #include <linux/lp.h> |
135 | 135 | ||
136 | #include <asm/irq.h> | 136 | #include <asm/irq.h> |
137 | #include <asm/uaccess.h> | 137 | #include <linux/uaccess.h> |
138 | 138 | ||
139 | /* if you have more than 8 printers, remember to increase LP_NO */ | 139 | /* if you have more than 8 printers, remember to increase LP_NO */ |
140 | #define LP_NO 8 | 140 | #define LP_NO 8 |
diff --git a/drivers/char/mbcs.c b/drivers/char/mbcs.c index 67d426470e53..8c9216a0f62e 100644 --- a/drivers/char/mbcs.c +++ b/drivers/char/mbcs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/pagemap.h> | 29 | #include <linux/pagemap.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/pgtable.h> | 32 | #include <asm/pgtable.h> |
33 | #include <asm/sn/addrs.h> | 33 | #include <asm/sn/addrs.h> |
34 | #include <asm/sn/intr.h> | 34 | #include <asm/sn/intr.h> |
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index 3d6c0671e996..f786b18ac500 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/mutex.h> | 35 | #include <linux/mutex.h> |
36 | #include <linux/slab.h> | 36 | #include <linux/slab.h> |
37 | 37 | ||
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/sn/addrs.h> | 39 | #include <asm/sn/addrs.h> |
40 | #include <asm/sn/intr.h> | 40 | #include <asm/sn/intr.h> |
41 | #include <asm/sn/shub_mmr.h> | 41 | #include <asm/sn/shub_mmr.h> |
diff --git a/drivers/char/mwave/3780i.c b/drivers/char/mwave/3780i.c index 972c40a19629..4a8937f80570 100644 --- a/drivers/char/mwave/3780i.c +++ b/drivers/char/mwave/3780i.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <linux/sched.h> /* cond_resched() */ | 54 | #include <linux/sched.h> /* cond_resched() */ |
55 | 55 | ||
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/irq.h> | 58 | #include <asm/irq.h> |
59 | #include "smapi.h" | 59 | #include "smapi.h" |
60 | #include "mwavedd.h" | 60 | #include "mwavedd.h" |
diff --git a/drivers/char/mwave/mwavedd.h b/drivers/char/mwave/mwavedd.h index 37e0a4926080..21cb09c7bed7 100644 --- a/drivers/char/mwave/mwavedd.h +++ b/drivers/char/mwave/mwavedd.h | |||
@@ -53,7 +53,7 @@ | |||
53 | #include "smapi.h" | 53 | #include "smapi.h" |
54 | #include "mwavepub.h" | 54 | #include "mwavepub.h" |
55 | #include <linux/ioctl.h> | 55 | #include <linux/ioctl.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <linux/wait.h> | 57 | #include <linux/wait.h> |
58 | 58 | ||
59 | extern int mwave_debug; | 59 | extern int mwave_debug; |
diff --git a/drivers/char/nsc_gpio.c b/drivers/char/nsc_gpio.c index b07b119ae57f..2a91bf048804 100644 --- a/drivers/char/nsc_gpio.c +++ b/drivers/char/nsc_gpio.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/nsc_gpio.h> | 15 | #include <linux/nsc_gpio.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | 19 | ||
20 | #define NAME "nsc_gpio" | 20 | #define NAME "nsc_gpio" |
diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c index 0e184426db98..a5b1eb276c0b 100644 --- a/drivers/char/nwbutton.c +++ b/drivers/char/nwbutton.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
21 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
22 | 22 | ||
diff --git a/drivers/char/nwflash.c b/drivers/char/nwflash.c index dbe598de9b74..a284ae25e69a 100644 --- a/drivers/char/nwflash.c +++ b/drivers/char/nwflash.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/hardware/dec21285.h> | 31 | #include <asm/hardware/dec21285.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | /*****************************************************************************/ | 36 | /*****************************************************************************/ |
37 | #include <asm/nwflash.h> | 37 | #include <asm/nwflash.h> |
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c index 3f79a9fb6b1b..5f4be88c0dfc 100644 --- a/drivers/char/pc8736x_gpio.c +++ b/drivers/char/pc8736x_gpio.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/mutex.h> | 20 | #include <linux/mutex.h> |
21 | #include <linux/nsc_gpio.h> | 21 | #include <linux/nsc_gpio.h> |
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #define DEVNAME "pc8736x_gpio" | 25 | #define DEVNAME "pc8736x_gpio" |
26 | 26 | ||
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c index fc061f7c2bd1..d7123259143e 100644 --- a/drivers/char/pcmcia/cm4040_cs.c +++ b/drivers/char/pcmcia/cm4040_cs.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/poll.h> | 26 | #include <linux/poll.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/wait.h> | 28 | #include <linux/wait.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | 31 | ||
32 | #include <pcmcia/cistpl.h> | 32 | #include <pcmcia/cistpl.h> |
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index a7dd5f4f2c5a..d136db1a10f0 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -84,7 +84,7 @@ | |||
84 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 84 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
85 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 85 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
86 | 86 | ||
87 | #include <asm/uaccess.h> | 87 | #include <linux/uaccess.h> |
88 | 88 | ||
89 | static MGSL_PARAMS default_params = { | 89 | static MGSL_PARAMS default_params = { |
90 | MGSL_MODE_HDLC, /* unsigned long mode */ | 90 | MGSL_MODE_HDLC, /* unsigned long mode */ |
diff --git a/drivers/char/random.c b/drivers/char/random.c index d6876d506220..1ef26403bcc8 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -265,7 +265,7 @@ | |||
265 | #include <crypto/chacha20.h> | 265 | #include <crypto/chacha20.h> |
266 | 266 | ||
267 | #include <asm/processor.h> | 267 | #include <asm/processor.h> |
268 | #include <asm/uaccess.h> | 268 | #include <linux/uaccess.h> |
269 | #include <asm/irq.h> | 269 | #include <asm/irq.h> |
270 | #include <asm/irq_regs.h> | 270 | #include <asm/irq_regs.h> |
271 | #include <asm/io.h> | 271 | #include <asm/io.h> |
diff --git a/drivers/char/raw.c b/drivers/char/raw.c index e83b2adc014a..293167c6e254 100644 --- a/drivers/char/raw.c +++ b/drivers/char/raw.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/compat.h> | 24 | #include <linux/compat.h> |
25 | #include <linux/vmalloc.h> | 25 | #include <linux/vmalloc.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | struct raw_device_data { | 29 | struct raw_device_data { |
30 | struct block_device *binding; | 30 | struct block_device *binding; |
diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c index 0bc135b9b16f..903761bc41c9 100644 --- a/drivers/char/scx200_gpio.c +++ b/drivers/char/scx200_gpio.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | 17 | ||
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 719c5b4eed39..4fa7fcd8af36 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <linux/platform_device.h> | 52 | #include <linux/platform_device.h> |
53 | #include <linux/gfp.h> | 53 | #include <linux/gfp.h> |
54 | 54 | ||
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | 57 | ||
58 | #include <linux/sonypi.h> | 58 | #include <linux/sonypi.h> |
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index 100cd1de9939..572a51704e67 100644 --- a/drivers/char/tlclk.c +++ b/drivers/char/tlclk.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/miscdevice.h> | 44 | #include <linux/miscdevice.h> |
45 | #include <linux/platform_device.h> | 45 | #include <linux/platform_device.h> |
46 | #include <asm/io.h> /* inb/outb */ | 46 | #include <asm/io.h> /* inb/outb */ |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | MODULE_AUTHOR("Sebastien Bouchard <sebastien.bouchard@ca.kontron.com>"); | 49 | MODULE_AUTHOR("Sebastien Bouchard <sebastien.bouchard@ca.kontron.com>"); |
50 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/char/toshiba.c b/drivers/char/toshiba.c index f5a45d887a37..5488516da8ea 100644 --- a/drivers/char/toshiba.c +++ b/drivers/char/toshiba.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <linux/miscdevice.h> | 63 | #include <linux/miscdevice.h> |
64 | #include <linux/ioport.h> | 64 | #include <linux/ioport.h> |
65 | #include <asm/io.h> | 65 | #include <asm/io.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | #include <linux/init.h> | 67 | #include <linux/init.h> |
68 | #include <linux/stat.h> | 68 | #include <linux/stat.h> |
69 | #include <linux/proc_fs.h> | 69 | #include <linux/proc_fs.h> |
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c index c07dfe5c4da3..3e6b23c3453c 100644 --- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c +++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <linux/slab.h> | 88 | #include <linux/slab.h> |
89 | 89 | ||
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #ifdef CONFIG_OF | 93 | #ifdef CONFIG_OF |
94 | /* For open firmware. */ | 94 | /* For open firmware. */ |
diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index 759612da4fdc..e28a31a40829 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/proc_fs.h> | 18 | #include <linux/proc_fs.h> |
19 | #include <linux/seq_file.h> | 19 | #include <linux/seq_file.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/pal.h> | 22 | #include <asm/pal.h> |
23 | 23 | ||
24 | #include <linux/acpi.h> | 24 | #include <linux/acpi.h> |
diff --git a/drivers/cpuidle/governors/ladder.c b/drivers/cpuidle/governors/ladder.c index fe8f08948fcb..ac321f09e717 100644 --- a/drivers/cpuidle/governors/ladder.c +++ b/drivers/cpuidle/governors/ladder.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/tick.h> | 19 | #include <linux/tick.h> |
20 | 20 | ||
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #define PROMOTION_COUNT 4 | 24 | #define PROMOTION_COUNT 4 |
25 | #define DEMOTION_COUNT 1 | 25 | #define DEMOTION_COUNT 1 |
diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c index 55dd88d82d6d..830184529109 100644 --- a/drivers/dio/dio.c +++ b/drivers/dio/dio.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/dio.h> | 32 | #include <linux/dio.h> |
33 | #include <linux/slab.h> /* kmalloc() */ | 33 | #include <linux/slab.h> /* kmalloc() */ |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> /* readb() */ | 35 | #include <asm/io.h> /* readb() */ |
36 | 36 | ||
37 | struct dio_bus dio_bus = { | 37 | struct dio_bus dio_bus = { |
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index de4d5d08af9e..65cf2b9355c4 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <asm/page.h> | 15 | #include <asm/page.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
18 | #include <linux/highmem.h> | 18 | #include <linux/highmem.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 5f2c717f8053..750891ea07de 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/ctype.h> | 28 | #include <linux/ctype.h> |
29 | #include <linux/edac.h> | 29 | #include <linux/edac.h> |
30 | #include <linux/bitops.h> | 30 | #include <linux/bitops.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include "edac_mc.h" | 33 | #include "edac_mc.h" |
34 | #include "edac_module.h" | 34 | #include "edac_module.h" |
diff --git a/drivers/edac/edac_pci.c b/drivers/edac/edac_pci.c index 4e9d5632041a..48c844a72a27 100644 --- a/drivers/edac/edac_pci.c +++ b/drivers/edac/edac_pci.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | #include <asm/page.h> | 12 | #include <asm/page.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/ctype.h> | 14 | #include <linux/ctype.h> |
15 | #include <linux/highmem.h> | 15 | #include <linux/highmem.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 3de95a29024c..cf9e396d7702 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #define pr_fmt(fmt) "i2c-core: " fmt | 30 | #define pr_fmt(fmt) "i2c-core: " fmt |
31 | 31 | ||
32 | #include <dt-bindings/i2c/i2c.h> | 32 | #include <dt-bindings/i2c/i2c.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/acpi.h> | 34 | #include <linux/acpi.h> |
35 | #include <linux/clk/clk-conf.h> | 35 | #include <linux/clk/clk-conf.h> |
36 | #include <linux/completion.h> | 36 | #include <linux/completion.h> |
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 0ceae5cbd89a..4b5dc0162e67 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c | |||
@@ -130,7 +130,7 @@ | |||
130 | #include <linux/ide.h> | 130 | #include <linux/ide.h> |
131 | #include <linux/slab.h> | 131 | #include <linux/slab.h> |
132 | 132 | ||
133 | #include <asm/uaccess.h> | 133 | #include <linux/uaccess.h> |
134 | #include <asm/io.h> | 134 | #include <asm/io.h> |
135 | 135 | ||
136 | #define DRV_NAME "hpt366" | 136 | #define DRV_NAME "hpt366" |
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 83679da0c3f0..5ceace542b77 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | #include <asm/byteorder.h> | 32 | #include <asm/byteorder.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/div64.h> | 36 | #include <asm/div64.h> |
37 | 37 | ||
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 6360bbd37efe..201e43fcbc94 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -51,7 +51,7 @@ | |||
51 | 51 | ||
52 | #include <asm/byteorder.h> | 52 | #include <asm/byteorder.h> |
53 | #include <asm/irq.h> | 53 | #include <asm/irq.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | 56 | ||
57 | int ide_end_rq(ide_drive_t *drive, struct request *rq, int error, | 57 | int ide_end_rq(ide_drive_t *drive, struct request *rq, int error, |
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 376f2dc410c5..210a0887dd29 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include <asm/byteorder.h> | 25 | #include <asm/byteorder.h> |
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | 29 | ||
30 | void SELECT_MASK(ide_drive_t *drive, int mask) | 30 | void SELECT_MASK(ide_drive_t *drive, int mask) |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 0b63facd1d87..330e319419e6 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #include <asm/byteorder.h> | 37 | #include <asm/byteorder.h> |
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | 41 | ||
42 | /** | 42 | /** |
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index 97c070077774..863db44c7916 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
21 | #include <linux/proc_fs.h> | 21 | #include <linux/proc_fs.h> |
22 | #include <linux/stat.h> | 22 | #include <linux/stat.h> |
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index 579f9a7f6283..e0a995b85a2d 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/mutex.h> | 46 | #include <linux/mutex.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | 48 | ||
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <rdma/ib.h> | 51 | #include <rdma/ib.h> |
52 | #include <rdma/ib_cm.h> | 52 | #include <rdma/ib_cm.h> |
diff --git a/drivers/infiniband/core/user_mad.c b/drivers/infiniband/core/user_mad.c index 415a3185cde7..249b403b43a4 100644 --- a/drivers/infiniband/core/user_mad.c +++ b/drivers/infiniband/core/user_mad.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/semaphore.h> | 50 | #include <linux/semaphore.h> |
51 | #include <linux/slab.h> | 51 | #include <linux/slab.h> |
52 | 52 | ||
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | 54 | ||
55 | #include <rdma/ib_mad.h> | 55 | #include <rdma/ib_mad.h> |
56 | #include <rdma/ib_user_mad.h> | 56 | #include <rdma/ib_user_mad.h> |
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 09b649159e6c..700782203483 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include "uverbs.h" | 43 | #include "uverbs.h" |
44 | #include "core_priv.h" | 44 | #include "core_priv.h" |
diff --git a/drivers/infiniband/core/uverbs_main.c b/drivers/infiniband/core/uverbs_main.c index 813593550c4b..b3f95d453fba 100644 --- a/drivers/infiniband/core/uverbs_main.c +++ b/drivers/infiniband/core/uverbs_main.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/anon_inodes.h> | 46 | #include <linux/anon_inodes.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | 48 | ||
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <rdma/ib.h> | 51 | #include <rdma/ib.h> |
52 | 52 | ||
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c index a2f9f29c6ab5..fd811115af49 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/init.h> | 35 | #include <linux/init.h> |
36 | #include <linux/seq_file.h> | 36 | #include <linux/seq_file.h> |
37 | 37 | ||
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include "ipoib.h" | 40 | #include "ipoib.h" |
41 | 41 | ||
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 64b3d11dcf1e..9104e6b8cac9 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -62,7 +62,7 @@ | |||
62 | 62 | ||
63 | #include <net/sock.h> | 63 | #include <net/sock.h> |
64 | 64 | ||
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | 66 | ||
67 | #include <scsi/scsi_cmnd.h> | 67 | #include <scsi/scsi_cmnd.h> |
68 | #include <scsi/scsi_device.h> | 68 | #include <scsi/scsi_device.h> |
diff --git a/drivers/input/input-compat.c b/drivers/input/input-compat.c index d84d20b9cec0..2186f71c9fe5 100644 --- a/drivers/input/input-compat.c +++ b/drivers/input/input-compat.c | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/export.h> | 11 | #include <linux/export.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include "input-compat.h" | 13 | #include "input-compat.h" |
14 | 14 | ||
15 | #ifdef CONFIG_COMPAT | 15 | #ifdef CONFIG_COMPAT |
diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c index 638165c78e75..6423aaccc763 100644 --- a/drivers/input/misc/atlas_btns.c +++ b/drivers/input/misc/atlas_btns.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/input.h> | 28 | #include <linux/input.h> |
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/acpi.h> | 30 | #include <linux/acpi.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | #define ACPI_ATLAS_NAME "Atlas ACPI" | 33 | #define ACPI_ATLAS_NAME "Atlas ACPI" |
34 | #define ACPI_ATLAS_CLASS "Atlas" | 34 | #define ACPI_ATLAS_CLASS "Atlas" |
diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mouse/amimouse.c index a7fd8f22ba56..a33437c480e3 100644 --- a/drivers/input/mouse/amimouse.c +++ b/drivers/input/mouse/amimouse.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/setup.h> | 27 | #include <asm/setup.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/amigahw.h> | 29 | #include <asm/amigahw.h> |
30 | #include <asm/amigaints.h> | 30 | #include <asm/amigaints.h> |
31 | 31 | ||
diff --git a/drivers/input/mouse/atarimouse.c b/drivers/input/mouse/atarimouse.c index d1c43236b125..96f2f51604bd 100644 --- a/drivers/input/mouse/atarimouse.c +++ b/drivers/input/mouse/atarimouse.c | |||
@@ -47,7 +47,7 @@ | |||
47 | 47 | ||
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/setup.h> | 49 | #include <asm/setup.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/atarihw.h> | 51 | #include <asm/atarihw.h> |
52 | #include <asm/atarikb.h> | 52 | #include <asm/atarikb.h> |
53 | #include <asm/atariints.h> | 53 | #include <asm/atariints.h> |
diff --git a/drivers/input/mouse/trackpoint.c b/drivers/input/mouse/trackpoint.c index 354d47ecd66a..7331084973e1 100644 --- a/drivers/input/mouse/trackpoint.c +++ b/drivers/input/mouse/trackpoint.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/input.h> | 15 | #include <linux/input.h> |
16 | #include <linux/libps2.h> | 16 | #include <linux/libps2.h> |
17 | #include <linux/proc_fs.h> | 17 | #include <linux/proc_fs.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include "psmouse.h" | 19 | #include "psmouse.h" |
20 | #include "trackpoint.h" | 20 | #include "trackpoint.h" |
21 | 21 | ||
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 852858e5d8d0..559c99ca6592 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c | |||
@@ -79,7 +79,7 @@ | |||
79 | # define sdc_readb(p) gsc_readb(p) | 79 | # define sdc_readb(p) gsc_readb(p) |
80 | # define sdc_writeb(v,p) gsc_writeb((v),(p)) | 80 | # define sdc_writeb(v,p) gsc_writeb((v),(p)) |
81 | #elif defined(__mc68000__) | 81 | #elif defined(__mc68000__) |
82 | # include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | # define sdc_readb(p) in_8(p) | 83 | # define sdc_readb(p) in_8(p) |
84 | # define sdc_writeb(v,p) out_8((p),(v)) | 84 | # define sdc_writeb(v,p) out_8((p),(v)) |
85 | #else | 85 | #else |
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index 5a9d521510bf..d0fccc8ec259 100644 --- a/drivers/input/serio/q40kbd.c +++ b/drivers/input/serio/q40kbd.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
39 | 39 | ||
40 | #include <asm/io.h> | 40 | #include <asm/io.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/q40_master.h> | 42 | #include <asm/q40_master.h> |
43 | #include <asm/irq.h> | 43 | #include <asm/irq.h> |
44 | #include <asm/q40ints.h> | 44 | #include <asm/q40ints.h> |
diff --git a/drivers/input/serio/serport.c b/drivers/input/serio/serport.c index d189843f3727..f8ead9f9c77e 100644 --- a/drivers/input/serio/serport.c +++ b/drivers/input/serio/serport.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * the Free Software Foundation. | 13 | * the Free Software Foundation. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 4613f0aefd08..d67547bded3e 100644 --- a/drivers/input/tablet/aiptek.c +++ b/drivers/input/tablet/aiptek.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include <linux/slab.h> | 75 | #include <linux/slab.h> |
76 | #include <linux/module.h> | 76 | #include <linux/module.h> |
77 | #include <linux/usb/input.h> | 77 | #include <linux/usb/input.h> |
78 | #include <asm/uaccess.h> | 78 | #include <linux/uaccess.h> |
79 | #include <asm/unaligned.h> | 79 | #include <asm/unaligned.h> |
80 | 80 | ||
81 | /* | 81 | /* |
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index abf09ac42ce4..b796e891e2ee 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c | |||
@@ -56,7 +56,7 @@ Scott Hill shill@gtcocalcomp.com | |||
56 | #include <linux/slab.h> | 56 | #include <linux/slab.h> |
57 | #include <linux/input.h> | 57 | #include <linux/input.h> |
58 | #include <linux/usb.h> | 58 | #include <linux/usb.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | #include <asm/unaligned.h> | 60 | #include <asm/unaligned.h> |
61 | #include <asm/byteorder.h> | 61 | #include <asm/byteorder.h> |
62 | #include <linux/bitops.h> | 62 | #include <linux/bitops.h> |
diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 823f6985b260..49d0f70c2bae 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/drivers/isdn/capi/kcapi.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/moduleparam.h> | 28 | #include <linux/moduleparam.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/isdn/capicmd.h> | 32 | #include <linux/isdn/capicmd.h> |
33 | #include <linux/isdn/capiutil.h> | 33 | #include <linux/isdn/capiutil.h> |
34 | #ifdef AVMB1_COMPAT | 34 | #ifdef AVMB1_COMPAT |
diff --git a/drivers/isdn/hardware/avm/b1.c b/drivers/isdn/hardware/avm/b1.c index 4d9b195547c5..9fdbd99c7547 100644 --- a/drivers/isdn/hardware/avm/b1.c +++ b/drivers/isdn/hardware/avm/b1.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/netdevice.h> | 28 | #include <linux/netdevice.h> |
29 | #include <linux/isdn/capilli.h> | 29 | #include <linux/isdn/capilli.h> |
30 | #include "avmcard.h" | 30 | #include "avmcard.h" |
diff --git a/drivers/isdn/hardware/avm/b1dma.c b/drivers/isdn/hardware/avm/b1dma.c index 19b113faeb7b..818bd8f231db 100644 --- a/drivers/isdn/hardware/avm/b1dma.c +++ b/drivers/isdn/hardware/avm/b1dma.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/gfp.h> | 23 | #include <linux/gfp.h> |
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/netdevice.h> | 27 | #include <linux/netdevice.h> |
28 | #include <linux/isdn/capilli.h> | 28 | #include <linux/isdn/capilli.h> |
29 | #include "avmcard.h" | 29 | #include "avmcard.h" |
diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c index 5d00d72fe482..17beb2869dc1 100644 --- a/drivers/isdn/hardware/avm/c4.c +++ b/drivers/isdn/hardware/avm/c4.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/gfp.h> | 25 | #include <linux/gfp.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/netdevice.h> | 28 | #include <linux/netdevice.h> |
29 | #include <linux/isdn/capicmd.h> | 29 | #include <linux/isdn/capicmd.h> |
30 | #include <linux/isdn/capiutil.h> | 30 | #include <linux/isdn/capiutil.h> |
diff --git a/drivers/isdn/hardware/eicon/capimain.c b/drivers/isdn/hardware/eicon/capimain.c index 997d46abf5b2..be36d82004d6 100644 --- a/drivers/isdn/hardware/eicon/capimain.c +++ b/drivers/isdn/hardware/eicon/capimain.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/skbuff.h> | 18 | #include <linux/skbuff.h> |
19 | 19 | ||
diff --git a/drivers/isdn/hardware/eicon/divamnt.c b/drivers/isdn/hardware/eicon/divamnt.c index 0de29b7b712f..72e58bf07577 100644 --- a/drivers/isdn/hardware/eicon/divamnt.c +++ b/drivers/isdn/hardware/eicon/divamnt.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/poll.h> | 16 | #include <linux/poll.h> |
17 | #include <linux/mutex.h> | 17 | #include <linux/mutex.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "platform.h" | 20 | #include "platform.h" |
21 | #include "di_defs.h" | 21 | #include "di_defs.h" |
diff --git a/drivers/isdn/hardware/eicon/divasi.c b/drivers/isdn/hardware/eicon/divasi.c index 4103a8c178d7..cb88090f9cea 100644 --- a/drivers/isdn/hardware/eicon/divasi.c +++ b/drivers/isdn/hardware/eicon/divasi.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/proc_fs.h> | 18 | #include <linux/proc_fs.h> |
19 | #include <linux/skbuff.h> | 19 | #include <linux/skbuff.h> |
20 | #include <linux/seq_file.h> | 20 | #include <linux/seq_file.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "platform.h" | 23 | #include "platform.h" |
24 | #include "di_defs.h" | 24 | #include "di_defs.h" |
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c index 32f34511c416..8b7ad4f1ab01 100644 --- a/drivers/isdn/hardware/eicon/divasmain.c +++ b/drivers/isdn/hardware/eicon/divasmain.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | #include <linux/ioport.h> | 17 | #include <linux/ioport.h> |
18 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
diff --git a/drivers/isdn/hardware/eicon/divasproc.c b/drivers/isdn/hardware/eicon/divasproc.c index 56ce98a4e248..b57efd6ad916 100644 --- a/drivers/isdn/hardware/eicon/divasproc.c +++ b/drivers/isdn/hardware/eicon/divasproc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/proc_fs.h> | 16 | #include <linux/proc_fs.h> |
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/list.h> | 18 | #include <linux/list.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include "platform.h" | 21 | #include "platform.h" |
22 | #include "debuglib.h" | 22 | #include "debuglib.h" |
diff --git a/drivers/isdn/hysdn/hysdn_boot.c b/drivers/isdn/hysdn/hysdn_boot.c index eda4741e3f2f..4a0425378f37 100644 --- a/drivers/isdn/hysdn/hysdn_boot.c +++ b/drivers/isdn/hysdn/hysdn_boot.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/vmalloc.h> | 14 | #include <linux/vmalloc.h> |
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "hysdn_defs.h" | 18 | #include "hysdn_defs.h" |
19 | #include "hysdn_pof.h" | 19 | #include "hysdn_pof.h" |
diff --git a/drivers/lguest/core.c b/drivers/lguest/core.c index 9e385b38debf..ac219045daf7 100644 --- a/drivers/lguest/core.c +++ b/drivers/lguest/core.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <asm/paravirt.h> | 16 | #include <asm/paravirt.h> |
17 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/poll.h> | 19 | #include <asm/poll.h> |
20 | #include <asm/asm-offsets.h> | 20 | #include <asm/asm-offsets.h> |
21 | #include "lg.h" | 21 | #include "lg.h" |
diff --git a/drivers/lguest/page_tables.c b/drivers/lguest/page_tables.c index e3abebc912c0..0bc127e9f16a 100644 --- a/drivers/lguest/page_tables.c +++ b/drivers/lguest/page_tables.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/random.h> | 16 | #include <linux/random.h> |
17 | #include <linux/percpu.h> | 17 | #include <linux/percpu.h> |
18 | #include <asm/tlbflush.h> | 18 | #include <asm/tlbflush.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include "lg.h" | 20 | #include "lg.h" |
21 | 21 | ||
22 | /*M:008 | 22 | /*M:008 |
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index 743253fc638f..d71f6323ac00 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <asm/desc.h> | 45 | #include <asm/desc.h> |
46 | #include <asm/setup.h> | 46 | #include <asm/setup.h> |
47 | #include <asm/lguest.h> | 47 | #include <asm/lguest.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/fpu/internal.h> | 49 | #include <asm/fpu/internal.h> |
50 | #include <asm/tlbflush.h> | 50 | #include <asm/tlbflush.h> |
51 | #include "../lg.h" | 51 | #include "../lg.h" |
diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index cd35079c8c98..281fa9e6fc1f 100644 --- a/drivers/macintosh/ans-lcd.c +++ b/drivers/macintosh/ans-lcd.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
12 | #include <linux/fs.h> | 12 | #include <linux/fs.h> |
13 | 13 | ||
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/sections.h> | 15 | #include <asm/sections.h> |
16 | #include <asm/prom.h> | 16 | #include <asm/prom.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 08edb2c25b60..227869159ac0 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <asm/pmac_feature.h> | 47 | #include <asm/pmac_feature.h> |
48 | #include <asm/smu.h> | 48 | #include <asm/smu.h> |
49 | #include <asm/sections.h> | 49 | #include <asm/sections.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #define VERSION "0.7" | 52 | #define VERSION "0.7" |
53 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." | 53 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." |
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 91081dcdc272..43b8db2b5445 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -57,7 +57,7 @@ | |||
57 | #include <asm/pmac_feature.h> | 57 | #include <asm/pmac_feature.h> |
58 | #include <asm/pmac_pfunc.h> | 58 | #include <asm/pmac_pfunc.h> |
59 | #include <asm/pmac_low_i2c.h> | 59 | #include <asm/pmac_low_i2c.h> |
60 | #include <asm/uaccess.h> | 60 | #include <linux/uaccess.h> |
61 | #include <asm/mmu_context.h> | 61 | #include <asm/mmu_context.h> |
62 | #include <asm/cputable.h> | 62 | #include <asm/cputable.h> |
63 | #include <asm/time.h> | 63 | #include <asm/time.h> |
diff --git a/drivers/macintosh/via-pmu68k.c b/drivers/macintosh/via-pmu68k.c index a00ee41f0573..a411c5cb77a1 100644 --- a/drivers/macintosh/via-pmu68k.c +++ b/drivers/macintosh/via-pmu68k.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
40 | #include <asm/irq.h> | 40 | #include <asm/irq.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | /* Misc minor number allocated for /dev/pmu */ | 43 | /* Misc minor number allocated for /dev/pmu */ |
44 | #define PMU_MINOR 154 | 44 | #define PMU_MINOR 154 |
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index c72a77048b73..a5a9b17f0f7f 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/hdreg.h> | 17 | #include <linux/hdreg.h> |
18 | #include <linux/compat.h> | 18 | #include <linux/compat.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #define DM_MSG_PREFIX "ioctl" | 22 | #define DM_MSG_PREFIX "ioctl" |
23 | #define DM_DRIVER_EMAIL "dm-devel@redhat.com" | 23 | #define DM_DRIVER_EMAIL "dm-devel@redhat.com" |
diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index efe55a3e80d0..0c44479b556e 100644 --- a/drivers/media/dvb-core/dmxdev.c +++ b/drivers/media/dvb-core/dmxdev.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/poll.h> | 30 | #include <linux/poll.h> |
31 | #include <linux/ioctl.h> | 31 | #include <linux/ioctl.h> |
32 | #include <linux/wait.h> | 32 | #include <linux/wait.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include "dmxdev.h" | 34 | #include "dmxdev.h" |
35 | 35 | ||
36 | static int debug; | 36 | static int debug; |
diff --git a/drivers/media/dvb-core/dvb_demux.c b/drivers/media/dvb-core/dvb_demux.c index 3ad0b2cd26b1..bbbff72bbb2a 100644 --- a/drivers/media/dvb-core/dvb_demux.c +++ b/drivers/media/dvb-core/dvb_demux.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/poll.h> | 31 | #include <linux/poll.h> |
32 | #include <linux/string.h> | 32 | #include <linux/string.h> |
33 | #include <linux/crc32.h> | 33 | #include <linux/crc32.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/div64.h> | 35 | #include <asm/div64.h> |
36 | 36 | ||
37 | #include "dvb_demux.h" | 37 | #include "dvb_demux.h" |
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index dfc03a95df71..bc5e8cfe7ca2 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <linux/etherdevice.h> | 62 | #include <linux/etherdevice.h> |
63 | #include <linux/dvb/net.h> | 63 | #include <linux/dvb/net.h> |
64 | #include <linux/uio.h> | 64 | #include <linux/uio.h> |
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | #include <linux/crc32.h> | 66 | #include <linux/crc32.h> |
67 | #include <linux/mutex.h> | 67 | #include <linux/mutex.h> |
68 | #include <linux/sched.h> | 68 | #include <linux/sched.h> |
diff --git a/drivers/media/dvb-core/dvb_ringbuffer.c b/drivers/media/dvb-core/dvb_ringbuffer.c index 7df7fb3738a0..5c4b5a1f604f 100644 --- a/drivers/media/dvb-core/dvb_ringbuffer.c +++ b/drivers/media/dvb-core/dvb_ringbuffer.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
33 | #include <linux/string.h> | 33 | #include <linux/string.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include "dvb_ringbuffer.h" | 36 | #include "dvb_ringbuffer.h" |
37 | 37 | ||
diff --git a/drivers/media/i2c/adv7170.c b/drivers/media/i2c/adv7170.c index 05f1dc6c72af..fc9ec0f3679c 100644 --- a/drivers/media/i2c/adv7170.c +++ b/drivers/media/i2c/adv7170.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/adv7175.c b/drivers/media/i2c/adv7175.c index f554809a51e7..72139bdae1ca 100644 --- a/drivers/media/i2c/adv7175.c +++ b/drivers/media/i2c/adv7175.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/ioctl.h> | 30 | #include <linux/ioctl.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/videodev2.h> | 33 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/bt856.c b/drivers/media/i2c/bt856.c index 48176591a80d..54c627859c8e 100644 --- a/drivers/media/i2c/bt856.c +++ b/drivers/media/i2c/bt856.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/bt866.c b/drivers/media/i2c/bt866.c index bbec70c882a3..0d3f46af2545 100644 --- a/drivers/media/i2c/bt866.c +++ b/drivers/media/i2c/bt866.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/types.h> | 32 | #include <linux/types.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <linux/ioctl.h> | 34 | #include <linux/ioctl.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/i2c.h> | 36 | #include <linux/i2c.h> |
37 | #include <linux/videodev2.h> | 37 | #include <linux/videodev2.h> |
38 | #include <media/v4l2-device.h> | 38 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/cs53l32a.c b/drivers/media/i2c/cs53l32a.c index e4b3cf49dd38..59c1a98c5a90 100644 --- a/drivers/media/i2c/cs53l32a.c +++ b/drivers/media/i2c/cs53l32a.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
29 | #include <linux/videodev2.h> | 29 | #include <linux/videodev2.h> |
30 | #include <media/v4l2-device.h> | 30 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/m52790.c b/drivers/media/i2c/m52790.c index 81171d8e1c2c..89c28c36c5bf 100644 --- a/drivers/media/i2c/m52790.c +++ b/drivers/media/i2c/m52790.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
29 | #include <linux/videodev2.h> | 29 | #include <linux/videodev2.h> |
30 | #include <media/i2c/m52790.h> | 30 | #include <media/i2c/m52790.h> |
diff --git a/drivers/media/i2c/saa6588.c b/drivers/media/i2c/saa6588.c index 89e458c23983..00640233a5e3 100644 --- a/drivers/media/i2c/saa6588.c +++ b/drivers/media/i2c/saa6588.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/poll.h> | 30 | #include <linux/poll.h> |
31 | #include <linux/wait.h> | 31 | #include <linux/wait.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <media/i2c/saa6588.h> | 34 | #include <media/i2c/saa6588.h> |
35 | #include <media/v4l2-device.h> | 35 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/saa7110.c b/drivers/media/i2c/saa7110.c index 6f49886806ee..ad456ce051f9 100644 --- a/drivers/media/i2c/saa7110.c +++ b/drivers/media/i2c/saa7110.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/wait.h> | 33 | #include <linux/wait.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/i2c.h> | 35 | #include <linux/i2c.h> |
36 | #include <linux/videodev2.h> | 36 | #include <linux/videodev2.h> |
37 | #include <media/v4l2-device.h> | 37 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/saa7185.c b/drivers/media/i2c/saa7185.c index eecad2d1edce..119050e1197a 100644 --- a/drivers/media/i2c/saa7185.c +++ b/drivers/media/i2c/saa7185.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/ioctl.h> | 30 | #include <linux/ioctl.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/videodev2.h> | 33 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/tlv320aic23b.c b/drivers/media/i2c/tlv320aic23b.c index 2e06c06cac9b..cc6104da34ef 100644 --- a/drivers/media/i2c/tlv320aic23b.c +++ b/drivers/media/i2c/tlv320aic23b.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/types.h> | 27 | #include <linux/types.h> |
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <linux/ioctl.h> | 29 | #include <linux/ioctl.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |
32 | #include <linux/videodev2.h> | 32 | #include <linux/videodev2.h> |
33 | #include <media/v4l2-device.h> | 33 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/vp27smpx.c b/drivers/media/i2c/vp27smpx.c index d6c23bdbcd4a..ef0d8b8e3df7 100644 --- a/drivers/media/i2c/vp27smpx.c +++ b/drivers/media/i2c/vp27smpx.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/ioctl.h> | 27 | #include <linux/ioctl.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | #include <linux/videodev2.h> | 30 | #include <linux/videodev2.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/vpx3220.c b/drivers/media/i2c/vpx3220.c index 90b693f4e2ab..ce9f09370e22 100644 --- a/drivers/media/i2c/vpx3220.c +++ b/drivers/media/i2c/vpx3220.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/i2c.h> | 27 | #include <linux/i2c.h> |
28 | #include <linux/videodev2.h> | 28 | #include <linux/videodev2.h> |
29 | #include <media/v4l2-device.h> | 29 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/wm8739.c b/drivers/media/i2c/wm8739.c index f086e5e6e844..c885def54b15 100644 --- a/drivers/media/i2c/wm8739.c +++ b/drivers/media/i2c/wm8739.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/ioctl.h> | 27 | #include <linux/ioctl.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | #include <linux/videodev2.h> | 30 | #include <linux/videodev2.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c index 5581f4db02af..45039d756753 100644 --- a/drivers/media/i2c/wm8775.c +++ b/drivers/media/i2c/wm8775.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/ioctl.h> | 31 | #include <linux/ioctl.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/i2c.h> | 33 | #include <linux/i2c.h> |
34 | #include <linux/videodev2.h> | 34 | #include <linux/videodev2.h> |
35 | #include <media/v4l2-device.h> | 35 | #include <media/v4l2-device.h> |
diff --git a/drivers/media/pci/ivtv/ivtv-driver.h b/drivers/media/pci/ivtv/ivtv-driver.h index 10cba305dbd2..6b09a9514d64 100644 --- a/drivers/media/pci/ivtv/ivtv-driver.h +++ b/drivers/media/pci/ivtv/ivtv-driver.h | |||
@@ -53,7 +53,7 @@ | |||
53 | #include <linux/kthread.h> | 53 | #include <linux/kthread.h> |
54 | #include <linux/mutex.h> | 54 | #include <linux/mutex.h> |
55 | #include <linux/slab.h> | 55 | #include <linux/slab.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/byteorder.h> | 57 | #include <asm/byteorder.h> |
58 | 58 | ||
59 | #include <linux/dvb/video.h> | 59 | #include <linux/dvb/video.h> |
diff --git a/drivers/media/pci/meye/meye.c b/drivers/media/pci/meye/meye.c index e825bc93ea7a..24fba633c217 100644 --- a/drivers/media/pci/meye/meye.c +++ b/drivers/media/pci/meye/meye.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <media/v4l2-ioctl.h> | 37 | #include <media/v4l2-ioctl.h> |
38 | #include <media/v4l2-fh.h> | 38 | #include <media/v4l2-fh.h> |
39 | #include <media/v4l2-event.h> | 39 | #include <media/v4l2-event.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
43 | #include <linux/interrupt.h> | 43 | #include <linux/interrupt.h> |
diff --git a/drivers/media/pci/zoran/videocodec.c b/drivers/media/pci/zoran/videocodec.c index 13a3c07cd259..3c3cbce0f9cc 100644 --- a/drivers/media/pci/zoran/videocodec.c +++ b/drivers/media/pci/zoran/videocodec.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #ifdef CONFIG_PROC_FS | 40 | #ifdef CONFIG_PROC_FS |
41 | #include <linux/proc_fs.h> | 41 | #include <linux/proc_fs.h> |
42 | #include <linux/seq_file.h> | 42 | #include <linux/seq_file.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #include "videocodec.h" | 46 | #include "videocodec.h" |
diff --git a/drivers/media/pci/zoran/zoran_driver.c b/drivers/media/pci/zoran/zoran_driver.c index 2170e174c335..94b9b616df98 100644 --- a/drivers/media/pci/zoran/zoran_driver.c +++ b/drivers/media/pci/zoran/zoran_driver.c | |||
@@ -66,7 +66,7 @@ | |||
66 | 66 | ||
67 | #include <asm/byteorder.h> | 67 | #include <asm/byteorder.h> |
68 | #include <asm/io.h> | 68 | #include <asm/io.h> |
69 | #include <asm/uaccess.h> | 69 | #include <linux/uaccess.h> |
70 | #include <linux/proc_fs.h> | 70 | #include <linux/proc_fs.h> |
71 | 71 | ||
72 | #include <linux/mutex.h> | 72 | #include <linux/mutex.h> |
diff --git a/drivers/media/platform/arv.c b/drivers/media/platform/arv.c index 03c5098499c4..8fe59bf6cd3f 100644 --- a/drivers/media/platform/arv.c +++ b/drivers/media/platform/arv.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <media/v4l2-fh.h> | 34 | #include <media/v4l2-fh.h> |
35 | #include <linux/mutex.h> | 35 | #include <linux/mutex.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/m32r.h> | 38 | #include <asm/m32r.h> |
39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
40 | #include <asm/dma.h> | 40 | #include <asm/dma.h> |
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-ioread.c b/drivers/media/usb/pvrusb2/pvrusb2-ioread.c index 70b8a052eb5b..3c7ca2c2c108 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-ioread.c +++ b/drivers/media/usb/pvrusb2/pvrusb2-ioread.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/mm.h> | 25 | #include <linux/mm.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #define BUFFER_COUNT 32 | 30 | #define BUFFER_COUNT 32 |
31 | #define BUFFER_SIZE PAGE_ALIGN(0x4000) | 31 | #define BUFFER_SIZE PAGE_ALIGN(0x4000) |
diff --git a/drivers/media/usb/pwc/pwc-ctrl.c b/drivers/media/usb/pwc/pwc-ctrl.c index 3a1618580ed6..655cef39eb3d 100644 --- a/drivers/media/usb/pwc/pwc-ctrl.c +++ b/drivers/media/usb/pwc/pwc-ctrl.c | |||
@@ -39,7 +39,7 @@ | |||
39 | /* Control functions for the cam; brightness, contrast, video mode, etc. */ | 39 | /* Control functions for the cam; brightness, contrast, video mode, etc. */ |
40 | 40 | ||
41 | #ifdef __KERNEL__ | 41 | #ifdef __KERNEL__ |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #endif | 43 | #endif |
44 | #include <asm/errno.h> | 44 | #include <asm/errno.h> |
45 | 45 | ||
diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c index 57cfe26a393f..a5ea1f517291 100644 --- a/drivers/media/v4l2-core/v4l2-common.c +++ b/drivers/media/v4l2-core/v4l2-common.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #if defined(CONFIG_SPI) | 54 | #if defined(CONFIG_SPI) |
55 | #include <linux/spi/spi.h> | 55 | #include <linux/spi/spi.h> |
56 | #endif | 56 | #endif |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/pgtable.h> | 58 | #include <asm/pgtable.h> |
59 | #include <asm/io.h> | 59 | #include <asm/io.h> |
60 | #include <asm/div64.h> | 60 | #include <asm/div64.h> |
diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-core/v4l2-dev.c index 8be561ab2615..fa2124cb31bd 100644 --- a/drivers/media/v4l2-core/v4l2-dev.c +++ b/drivers/media/v4l2-core/v4l2-dev.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/kmod.h> | 26 | #include <linux/kmod.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #include <media/v4l2-common.h> | 30 | #include <media/v4l2-common.h> |
31 | #include <media/v4l2-device.h> | 31 | #include <media/v4l2-device.h> |
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 02b5f69e1a42..7b3b41368931 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/compat.h> | 58 | #include <linux/compat.h> |
59 | 59 | ||
60 | #include <asm/io.h> | 60 | #include <asm/io.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | 62 | ||
63 | #include <scsi/scsi.h> | 63 | #include <scsi/scsi.h> |
64 | #include <scsi/scsi_cmnd.h> | 64 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h index 69e9d5463564..8946e19dbfc8 100644 --- a/drivers/message/fusion/mptlan.h +++ b/drivers/message/fusion/mptlan.h | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/workqueue.h> | 70 | #include <linux/workqueue.h> |
71 | #include <linux/delay.h> | 71 | #include <linux/delay.h> |
72 | 72 | ||
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | #include <asm/io.h> | 74 | #include <asm/io.h> |
75 | 75 | ||
76 | /* Override mptbase.h by pre-defining these! */ | 76 | /* Override mptbase.h by pre-defining these! */ |
diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c index 520f58439080..e05c3245930a 100644 --- a/drivers/misc/ibmasm/ibmasmfs.c +++ b/drivers/misc/ibmasm/ibmasmfs.c | |||
@@ -76,7 +76,7 @@ | |||
76 | #include <linux/fs.h> | 76 | #include <linux/fs.h> |
77 | #include <linux/pagemap.h> | 77 | #include <linux/pagemap.h> |
78 | #include <linux/slab.h> | 78 | #include <linux/slab.h> |
79 | #include <asm/uaccess.h> | 79 | #include <linux/uaccess.h> |
80 | #include <asm/io.h> | 80 | #include <asm/io.h> |
81 | #include "ibmasm.h" | 81 | #include "ibmasm.h" |
82 | #include "remote.h" | 82 | #include "remote.h" |
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index bab3f07b1117..cb1698f268f1 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/mmc/mmc.h> | 43 | #include <linux/mmc/mmc.h> |
44 | #include <linux/mmc/sd.h> | 44 | #include <linux/mmc/sd.h> |
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include "queue.h" | 48 | #include "queue.h" |
49 | #include "block.h" | 49 | #include "block.h" |
diff --git a/drivers/mmc/host/android-goldfish.c b/drivers/mmc/host/android-goldfish.c index dca5518b0139..590a8a4522be 100644 --- a/drivers/mmc/host/android-goldfish.c +++ b/drivers/mmc/host/android-goldfish.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/types.h> | 50 | #include <asm/types.h> |
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #define DRIVER_NAME "goldfish_mmc" | 54 | #define DRIVER_NAME "goldfish_mmc" |
55 | 55 | ||
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c index 220f9200fa52..cadea0620cd0 100644 --- a/drivers/mtd/devices/pmc551.c +++ b/drivers/mtd/devices/pmc551.c | |||
@@ -82,7 +82,7 @@ | |||
82 | 82 | ||
83 | #include <linux/kernel.h> | 83 | #include <linux/kernel.h> |
84 | #include <linux/module.h> | 84 | #include <linux/module.h> |
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <linux/types.h> | 86 | #include <linux/types.h> |
87 | #include <linux/init.h> | 87 | #include <linux/init.h> |
88 | #include <linux/ptrace.h> | 88 | #include <linux/ptrace.h> |
diff --git a/drivers/mtd/devices/slram.c b/drivers/mtd/devices/slram.c index a70eb83e68f1..8087c36dc693 100644 --- a/drivers/mtd/devices/slram.c +++ b/drivers/mtd/devices/slram.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/types.h> | 34 | #include <linux/types.h> |
35 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
36 | #include <linux/ptrace.h> | 36 | #include <linux/ptrace.h> |
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 9fb3b0dcdac2..664d206a4cbe 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <linux/hdreg.h> | 70 | #include <linux/hdreg.h> |
71 | #include <linux/vmalloc.h> | 71 | #include <linux/vmalloc.h> |
72 | #include <linux/blkpg.h> | 72 | #include <linux/blkpg.h> |
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | 74 | ||
75 | #include <linux/mtd/ftl.h> | 75 | #include <linux/mtd/ftl.h> |
76 | 76 | ||
diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c index b66b541877f0..8db740d6eb08 100644 --- a/drivers/mtd/inftlcore.c +++ b/drivers/mtd/inftlcore.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/mtd/nftl.h> | 34 | #include <linux/mtd/nftl.h> |
35 | #include <linux/mtd/inftl.h> | 35 | #include <linux/mtd/inftl.h> |
36 | #include <linux/mtd/nand.h> | 36 | #include <linux/mtd/nand.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/errno.h> | 38 | #include <asm/errno.h> |
39 | #include <asm/io.h> | 39 | #include <asm/io.h> |
40 | 40 | ||
diff --git a/drivers/mtd/inftlmount.c b/drivers/mtd/inftlmount.c index 1388c8d7f309..8d6bb189ea8e 100644 --- a/drivers/mtd/inftlmount.c +++ b/drivers/mtd/inftlmount.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <asm/errno.h> | 28 | #include <asm/errno.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/mtd/mtd.h> | 33 | #include <linux/mtd/mtd.h> |
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index d459aca07881..414956eca0c9 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <asm/prom.h> | 18 | #include <asm/prom.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | 21 | ||
22 | #include <linux/mtd/mtd.h> | 22 | #include <linux/mtd/mtd.h> |
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 8d58acf33021..df8a5ef334c0 100644 --- a/drivers/mtd/mtd_blkdevs.c +++ b/drivers/mtd/mtd_blkdevs.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/spinlock.h> | 31 | #include <linux/spinlock.h> |
32 | #include <linux/hdreg.h> | 32 | #include <linux/hdreg.h> |
33 | #include <linux/mutex.h> | 33 | #include <linux/mutex.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #include "mtdcore.h" | 36 | #include "mtdcore.h" |
37 | 37 | ||
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 2a47a3f0e730..ce5ccc573a9c 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/mtd/partitions.h> | 37 | #include <linux/mtd/partitions.h> |
38 | #include <linux/mtd/map.h> | 38 | #include <linux/mtd/map.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include "mtdcore.h" | 42 | #include "mtdcore.h" |
43 | 43 | ||
diff --git a/drivers/mtd/nftlcore.c b/drivers/mtd/nftlcore.c index 46f27de018c3..e21161353e76 100644 --- a/drivers/mtd/nftlcore.c +++ b/drivers/mtd/nftlcore.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <asm/errno.h> | 26 | #include <asm/errno.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 31f89f1c6123..b8c293373ecc 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/if_arp.h> | 33 | #include <linux/if_arp.h> |
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <net/route.h> | 35 | #include <net/route.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | #include "ipddp.h" /* Our stuff */ | 38 | #include "ipddp.h" /* Our stuff */ |
39 | 39 | ||
diff --git a/drivers/net/eql.c b/drivers/net/eql.c index a10ad74cc8d2..fe13bfea30ac 100644 --- a/drivers/net/eql.c +++ b/drivers/net/eql.c | |||
@@ -127,7 +127,7 @@ | |||
127 | #include <linux/if_eql.h> | 127 | #include <linux/if_eql.h> |
128 | #include <linux/pkt_sched.h> | 128 | #include <linux/pkt_sched.h> |
129 | 129 | ||
130 | #include <asm/uaccess.h> | 130 | #include <linux/uaccess.h> |
131 | 131 | ||
132 | static int eql_open(struct net_device *dev); | 132 | static int eql_open(struct net_device *dev); |
133 | static int eql_close(struct net_device *dev); | 133 | static int eql_close(struct net_device *dev); |
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c index a7533780dddc..c7f9f2c77da7 100644 --- a/drivers/net/ethernet/3com/3c509.c +++ b/drivers/net/ethernet/3com/3c509.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <linux/eisa.h> | 88 | #include <linux/eisa.h> |
89 | #include <linux/bitops.h> | 89 | #include <linux/bitops.h> |
90 | 90 | ||
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | #include <asm/io.h> | 92 | #include <asm/io.h> |
93 | #include <asm/irq.h> | 93 | #include <asm/irq.h> |
94 | 94 | ||
diff --git a/drivers/net/ethernet/3com/3c515.c b/drivers/net/ethernet/3com/3c515.c index be5b80103bec..e7b1fa56b290 100644 --- a/drivers/net/ethernet/3com/3c515.c +++ b/drivers/net/ethernet/3com/3c515.c | |||
@@ -72,7 +72,7 @@ static int max_interrupt_work = 20; | |||
72 | #include <linux/ethtool.h> | 72 | #include <linux/ethtool.h> |
73 | #include <linux/bitops.h> | 73 | #include <linux/bitops.h> |
74 | 74 | ||
75 | #include <asm/uaccess.h> | 75 | #include <linux/uaccess.h> |
76 | #include <asm/io.h> | 76 | #include <asm/io.h> |
77 | #include <asm/dma.h> | 77 | #include <asm/dma.h> |
78 | 78 | ||
diff --git a/drivers/net/ethernet/3com/3c574_cs.c b/drivers/net/ethernet/3com/3c574_cs.c index 9359a37fedc0..47c844cc9d27 100644 --- a/drivers/net/ethernet/3com/3c574_cs.c +++ b/drivers/net/ethernet/3com/3c574_cs.c | |||
@@ -92,7 +92,7 @@ earlier 3Com products. | |||
92 | #include <pcmcia/ciscode.h> | 92 | #include <pcmcia/ciscode.h> |
93 | #include <pcmcia/ds.h> | 93 | #include <pcmcia/ds.h> |
94 | 94 | ||
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | #include <asm/io.h> | 96 | #include <asm/io.h> |
97 | 97 | ||
98 | /*====================================================================*/ | 98 | /*====================================================================*/ |
diff --git a/drivers/net/ethernet/3com/3c59x.c b/drivers/net/ethernet/3com/3c59x.c index b3560a364e53..40196f41768a 100644 --- a/drivers/net/ethernet/3com/3c59x.c +++ b/drivers/net/ethernet/3com/3c59x.c | |||
@@ -92,7 +92,7 @@ static int vortex_debug = 1; | |||
92 | #include <linux/gfp.h> | 92 | #include <linux/gfp.h> |
93 | #include <asm/irq.h> /* For nr_irqs only. */ | 93 | #include <asm/irq.h> /* For nr_irqs only. */ |
94 | #include <asm/io.h> | 94 | #include <asm/io.h> |
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | 96 | ||
97 | /* Kernel compatibility defines, some common to David Hinds' PCMCIA package. | 97 | /* Kernel compatibility defines, some common to David Hinds' PCMCIA package. |
98 | This is only in the support-all-kernels source code. */ | 98 | This is only in the support-all-kernels source code. */ |
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c index a0cacbe846ba..9fe3990319ec 100644 --- a/drivers/net/ethernet/3com/typhoon.c +++ b/drivers/net/ethernet/3com/typhoon.c | |||
@@ -119,7 +119,7 @@ static const int multicast_filter_limit = 32; | |||
119 | #include <linux/bitops.h> | 119 | #include <linux/bitops.h> |
120 | #include <asm/processor.h> | 120 | #include <asm/processor.h> |
121 | #include <asm/io.h> | 121 | #include <asm/io.h> |
122 | #include <asm/uaccess.h> | 122 | #include <linux/uaccess.h> |
123 | #include <linux/in6.h> | 123 | #include <linux/in6.h> |
124 | #include <linux/dma-mapping.h> | 124 | #include <linux/dma-mapping.h> |
125 | #include <linux/firmware.h> | 125 | #include <linux/firmware.h> |
diff --git a/drivers/net/ethernet/8390/axnet_cs.c b/drivers/net/ethernet/8390/axnet_cs.c index 1d84a0544ace..3da1fc539ef9 100644 --- a/drivers/net/ethernet/8390/axnet_cs.c +++ b/drivers/net/ethernet/8390/axnet_cs.c | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/byteorder.h> | 48 | #include <asm/byteorder.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #define AXNET_CMD 0x00 | 51 | #define AXNET_CMD 0x00 |
52 | #define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ | 52 | #define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ |
diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c index 07355302443d..1bdea746926c 100644 --- a/drivers/net/ethernet/8390/ne2k-pci.c +++ b/drivers/net/ethernet/8390/ne2k-pci.c | |||
@@ -54,7 +54,7 @@ static int options[MAX_UNITS]; | |||
54 | 54 | ||
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | #include <asm/irq.h> | 56 | #include <asm/irq.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | 58 | ||
59 | #include "8390.h" | 59 | #include "8390.h" |
60 | 60 | ||
diff --git a/drivers/net/ethernet/8390/pcnet_cs.c b/drivers/net/ethernet/8390/pcnet_cs.c index 63079a6e20d9..bd0a2a14b649 100644 --- a/drivers/net/ethernet/8390/pcnet_cs.c +++ b/drivers/net/ethernet/8390/pcnet_cs.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/byteorder.h> | 51 | #include <asm/byteorder.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #define PCNET_CMD 0x00 | 54 | #define PCNET_CMD 0x00 |
55 | #define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ | 55 | #define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ |
diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c index 3aaad33cdbc6..c12d2618eebf 100644 --- a/drivers/net/ethernet/adaptec/starfire.c +++ b/drivers/net/ethernet/adaptec/starfire.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/mm.h> | 45 | #include <linux/mm.h> |
46 | #include <linux/firmware.h> | 46 | #include <linux/firmware.h> |
47 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 47 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
50 | 50 | ||
51 | /* | 51 | /* |
diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index 16f0c70266bc..a1a52eb53b14 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c | |||
@@ -80,7 +80,7 @@ | |||
80 | #include <asm/io.h> | 80 | #include <asm/io.h> |
81 | #include <asm/irq.h> | 81 | #include <asm/irq.h> |
82 | #include <asm/byteorder.h> | 82 | #include <asm/byteorder.h> |
83 | #include <asm/uaccess.h> | 83 | #include <linux/uaccess.h> |
84 | 84 | ||
85 | 85 | ||
86 | #define DRV_NAME "acenic" | 86 | #define DRV_NAME "acenic" |
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index 11cf1e3e0295..9595f1bc535b 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c | |||
@@ -87,7 +87,7 @@ Revision History: | |||
87 | 87 | ||
88 | #include <asm/io.h> | 88 | #include <asm/io.h> |
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/uaccess.h> | 90 | #include <linux/uaccess.h> |
91 | 91 | ||
92 | #if IS_ENABLED(CONFIG_VLAN_8021Q) | 92 | #if IS_ENABLED(CONFIG_VLAN_8021Q) |
93 | #define AMD8111E_VLAN_TAG_USED 1 | 93 | #define AMD8111E_VLAN_TAG_USED 1 |
diff --git a/drivers/net/ethernet/amd/nmclan_cs.c b/drivers/net/ethernet/amd/nmclan_cs.c index 113a3b3cc50c..b556c926557a 100644 --- a/drivers/net/ethernet/amd/nmclan_cs.c +++ b/drivers/net/ethernet/amd/nmclan_cs.c | |||
@@ -151,7 +151,7 @@ Include Files | |||
151 | #include <pcmcia/cistpl.h> | 151 | #include <pcmcia/cistpl.h> |
152 | #include <pcmcia/ds.h> | 152 | #include <pcmcia/ds.h> |
153 | 153 | ||
154 | #include <asm/uaccess.h> | 154 | #include <linux/uaccess.h> |
155 | #include <asm/io.h> | 155 | #include <asm/io.h> |
156 | 156 | ||
157 | /* ---------------------------------------------------------------------------- | 157 | /* ---------------------------------------------------------------------------- |
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c index 1df3048a3cdb..48707ed76ffc 100644 --- a/drivers/net/ethernet/broadcom/b44.c +++ b/drivers/net/ethernet/broadcom/b44.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/phy.h> | 33 | #include <linux/phy.h> |
34 | 34 | ||
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | 38 | ||
diff --git a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c index 3a05f9098e75..d8aff7a4b3c7 100644 --- a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c +++ b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/mii.h> | 44 | #include <linux/mii.h> |
45 | #include <linux/sockios.h> | 45 | #include <linux/sockios.h> |
46 | #include <linux/dma-mapping.h> | 46 | #include <linux/dma-mapping.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | #include "cpl5_cmd.h" | 49 | #include "cpl5_cmd.h" |
50 | #include "regs.h" | 50 | #include "regs.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c index 7b2224ae72f2..d76491676b51 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/stringify.h> | 50 | #include <linux/stringify.h> |
51 | #include <linux/sched.h> | 51 | #include <linux/sched.h> |
52 | #include <linux/slab.h> | 52 | #include <linux/slab.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | 54 | ||
55 | #include "common.h" | 55 | #include "common.h" |
56 | #include "cxgb3_ioctl.h" | 56 | #include "cxgb3_ioctl.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 66c37fac59b2..6f951877430b 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <net/addrconf.h> | 63 | #include <net/addrconf.h> |
64 | #include <net/bonding.h> | 64 | #include <net/bonding.h> |
65 | #include <net/addrconf.h> | 65 | #include <net/addrconf.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | #include <linux/crash_dump.h> | 67 | #include <linux/crash_dump.h> |
68 | 68 | ||
69 | #include "cxgb4.h" | 69 | #include "cxgb4.h" |
diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index 90c573b8ccaf..57c17e797ae3 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c | |||
@@ -49,7 +49,7 @@ | |||
49 | 49 | ||
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/irq.h> | 51 | #include <asm/irq.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | #include <asm/unaligned.h> | 53 | #include <asm/unaligned.h> |
54 | 54 | ||
55 | /* These identify the driver base version and may not be removed. */ | 55 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index 51fda3a6b13f..df4a871df633 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -472,7 +472,7 @@ | |||
472 | #include <asm/dma.h> | 472 | #include <asm/dma.h> |
473 | #include <asm/byteorder.h> | 473 | #include <asm/byteorder.h> |
474 | #include <asm/unaligned.h> | 474 | #include <asm/unaligned.h> |
475 | #include <asm/uaccess.h> | 475 | #include <linux/uaccess.h> |
476 | #ifdef CONFIG_PPC_PMAC | 476 | #ifdef CONFIG_PPC_PMAC |
477 | #include <asm/machdep.h> | 477 | #include <asm/machdep.h> |
478 | #endif /* CONFIG_PPC_PMAC */ | 478 | #endif /* CONFIG_PPC_PMAC */ |
diff --git a/drivers/net/ethernet/dec/tulip/dmfe.c b/drivers/net/ethernet/dec/tulip/dmfe.c index df4994919456..07e10a45beaa 100644 --- a/drivers/net/ethernet/dec/tulip/dmfe.c +++ b/drivers/net/ethernet/dec/tulip/dmfe.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #include <asm/processor.h> | 90 | #include <asm/processor.h> |
91 | #include <asm/io.h> | 91 | #include <asm/io.h> |
92 | #include <asm/dma.h> | 92 | #include <asm/dma.h> |
93 | #include <asm/uaccess.h> | 93 | #include <linux/uaccess.h> |
94 | #include <asm/irq.h> | 94 | #include <asm/irq.h> |
95 | 95 | ||
96 | #ifdef CONFIG_TULIP_DM910X | 96 | #ifdef CONFIG_TULIP_DM910X |
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 5f1377449b8f..17e566a8b345 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/mii.h> | 31 | #include <linux/mii.h> |
32 | #include <linux/crc32.h> | 32 | #include <linux/crc32.h> |
33 | #include <asm/unaligned.h> | 33 | #include <asm/unaligned.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | #ifdef CONFIG_SPARC | 36 | #ifdef CONFIG_SPARC |
37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c index e1c4133b8787..f82ebe5d89ee 100644 --- a/drivers/net/ethernet/dec/tulip/uli526x.c +++ b/drivers/net/ethernet/dec/tulip/uli526x.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <asm/processor.h> | 40 | #include <asm/processor.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/dma.h> | 42 | #include <asm/dma.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) | 45 | #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) |
46 | #define ur32(reg) ioread32(ioaddr + (reg)) | 46 | #define ur32(reg) ioread32(ioaddr + (reg)) |
diff --git a/drivers/net/ethernet/dec/tulip/winbond-840.c b/drivers/net/ethernet/dec/tulip/winbond-840.c index feda96d585e7..bc9bf88e5831 100644 --- a/drivers/net/ethernet/dec/tulip/winbond-840.c +++ b/drivers/net/ethernet/dec/tulip/winbond-840.c | |||
@@ -129,7 +129,7 @@ static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | |||
129 | #include <linux/rtnetlink.h> | 129 | #include <linux/rtnetlink.h> |
130 | #include <linux/crc32.h> | 130 | #include <linux/crc32.h> |
131 | #include <linux/bitops.h> | 131 | #include <linux/bitops.h> |
132 | #include <asm/uaccess.h> | 132 | #include <linux/uaccess.h> |
133 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 133 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
134 | #include <asm/io.h> | 134 | #include <asm/io.h> |
135 | #include <asm/irq.h> | 135 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/dec/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c index 19e4ea15b504..a8de79355578 100644 --- a/drivers/net/ethernet/dec/tulip/xircom_cb.c +++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/delay.h> | 30 | #include <linux/delay.h> |
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #ifdef CONFIG_NET_POLL_CONTROLLER | 35 | #ifdef CONFIG_NET_POLL_CONTROLLER |
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/dlink/dl2k.h b/drivers/net/ethernet/dlink/dl2k.h index 8f4f61262d5c..5d8ae5320242 100644 --- a/drivers/net/ethernet/dlink/dl2k.h +++ b/drivers/net/ethernet/dlink/dl2k.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/bitops.h> | 31 | #include <linux/bitops.h> |
32 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 32 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/delay.h> | 35 | #include <linux/delay.h> |
36 | #include <linux/spinlock.h> | 36 | #include <linux/spinlock.h> |
37 | #include <linux/time.h> | 37 | #include <linux/time.h> |
diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethernet/dlink/sundance.c index eab36acfc0d1..2e5b66762e15 100644 --- a/drivers/net/ethernet/dlink/sundance.c +++ b/drivers/net/ethernet/dlink/sundance.c | |||
@@ -91,7 +91,7 @@ static char *media[MAX_UNITS]; | |||
91 | #include <linux/skbuff.h> | 91 | #include <linux/skbuff.h> |
92 | #include <linux/init.h> | 92 | #include <linux/init.h> |
93 | #include <linux/bitops.h> | 93 | #include <linux/bitops.h> |
94 | #include <asm/uaccess.h> | 94 | #include <linux/uaccess.h> |
95 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 95 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
96 | #include <asm/io.h> | 96 | #include <asm/io.h> |
97 | #include <linux/delay.h> | 97 | #include <linux/delay.h> |
diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c index 6967b287b6e7..9cb436cb3745 100644 --- a/drivers/net/ethernet/fealnx.c +++ b/drivers/net/ethernet/fealnx.c | |||
@@ -88,7 +88,7 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; | |||
88 | 88 | ||
89 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 89 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | #include <asm/byteorder.h> | 92 | #include <asm/byteorder.h> |
93 | 93 | ||
94 | /* These identify the driver base version and may not be removed. */ | 94 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index d9f3a480ca1b..1f98838f32b7 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <linux/vmalloc.h> | 44 | #include <linux/vmalloc.h> |
45 | #include <asm/pgtable.h> | 45 | #include <asm/pgtable.h> |
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | #include "fs_enet.h" | 49 | #include "fs_enet.h" |
50 | 50 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c index 120c758f5d01..6e64989f8478 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c | |||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | #include <asm/pgtable.h> | 43 | #include <asm/pgtable.h> |
44 | #include <asm/irq.h> | 44 | #include <asm/irq.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include "fs_enet.h" | 47 | #include "fs_enet.h" |
48 | 48 | ||
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c index 777beffa1e1e..db9c0bcf54cd 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/gfp.h> | 36 | #include <linux/gfp.h> |
37 | 37 | ||
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | 40 | ||
41 | #ifdef CONFIG_8xx | 41 | #ifdef CONFIG_8xx |
42 | #include <asm/8xx_immap.h> | 42 | #include <asm/8xx_immap.h> |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c index 15abd37d70e3..96d44cf44fe0 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c +++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/of_platform.h> | 35 | #include <linux/of_platform.h> |
36 | 36 | ||
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #ifdef CONFIG_8xx | 40 | #ifdef CONFIG_8xx |
41 | #include <asm/8xx_immap.h> | 41 | #include <asm/8xx_immap.h> |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c index a89267b94352..1582d82483ec 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include <asm/pgtable.h> | 36 | #include <asm/pgtable.h> |
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/mpc5xxx.h> | 39 | #include <asm/mpc5xxx.h> |
40 | 40 | ||
41 | #include "fs_enet.h" | 41 | #include "fs_enet.h" |
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 756f7e763d5f..a6e7afa878be 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c | |||
@@ -93,7 +93,7 @@ | |||
93 | #include <asm/mpc85xx.h> | 93 | #include <asm/mpc85xx.h> |
94 | #endif | 94 | #endif |
95 | #include <asm/irq.h> | 95 | #include <asm/irq.h> |
96 | #include <asm/uaccess.h> | 96 | #include <linux/uaccess.h> |
97 | #include <linux/module.h> | 97 | #include <linux/module.h> |
98 | #include <linux/dma-mapping.h> | 98 | #include <linux/dma-mapping.h> |
99 | #include <linux/crc32.h> | 99 | #include <linux/crc32.h> |
diff --git a/drivers/net/ethernet/freescale/gianfar.h b/drivers/net/ethernet/freescale/gianfar.h index 6e8a9c8467b9..5aa814799d70 100644 --- a/drivers/net/ethernet/freescale/gianfar.h +++ b/drivers/net/ethernet/freescale/gianfar.h | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <linux/module.h> | 44 | #include <linux/module.h> |
45 | #include <linux/crc32.h> | 45 | #include <linux/crc32.h> |
46 | #include <linux/workqueue.h> | 46 | #include <linux/workqueue.h> |
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c index 56588f2e1d91..a93e0199c369 100644 --- a/drivers/net/ethernet/freescale/gianfar_ethtool.c +++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/module.h> | 36 | #include <linux/module.h> |
37 | #include <linux/crc32.h> | 37 | #include <linux/crc32.h> |
38 | #include <asm/types.h> | 38 | #include <asm/types.h> |
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 53c5fcf1436c..9d660888510f 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/of_net.h> | 37 | #include <linux/of_net.h> |
38 | #include <linux/of_platform.h> | 38 | #include <linux/of_platform.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/irq.h> | 41 | #include <asm/irq.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <soc/fsl/qe/immap_qe.h> | 43 | #include <soc/fsl/qe/immap_qe.h> |
diff --git a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c index 8ba636f61b50..b642990b549c 100644 --- a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c +++ b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/types.h> | 36 | #include <asm/types.h> |
37 | 37 | ||
38 | #include "ucc_geth.h" | 38 | #include "ucc_geth.h" |
diff --git a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c index 51c4abc51bf4..a69cd19a55ae 100644 --- a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c +++ b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <pcmcia/ciscode.h> | 54 | #include <pcmcia/ciscode.h> |
55 | #include <pcmcia/ds.h> | 55 | #include <pcmcia/ds.h> |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/io.h> | 58 | #include <asm/io.h> |
59 | 59 | ||
60 | /*====================================================================*/ | 60 | /*====================================================================*/ |
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c index 52a69c925965..5909615c27f7 100644 --- a/drivers/net/ethernet/ibm/emac/core.c +++ b/drivers/net/ethernet/ibm/emac/core.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <asm/processor.h> | 47 | #include <asm/processor.h> |
48 | #include <asm/io.h> | 48 | #include <asm/io.h> |
49 | #include <asm/dma.h> | 49 | #include <asm/dma.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/dcr.h> | 51 | #include <asm/dcr.h> |
52 | #include <asm/dcr-regs.h> | 52 | #include <asm/dcr-regs.h> |
53 | 53 | ||
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c index d2b29b490ae0..e5d72559cca9 100644 --- a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c +++ b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include "ixgb.h" | 31 | #include "ixgb.h" |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #define IXGB_ALL_RAR_ENTRIES 16 | 35 | #define IXGB_ALL_RAR_ENTRIES 16 |
36 | 36 | ||
diff --git a/drivers/net/ethernet/natsemi/natsemi.c b/drivers/net/ethernet/natsemi/natsemi.c index 22b0821c1da0..90eac63f9606 100644 --- a/drivers/net/ethernet/natsemi/natsemi.c +++ b/drivers/net/ethernet/natsemi/natsemi.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 51 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
52 | #include <asm/io.h> | 52 | #include <asm/io.h> |
53 | #include <asm/irq.h> | 53 | #include <asm/irq.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | 55 | ||
56 | #define DRV_NAME "natsemi" | 56 | #define DRV_NAME "natsemi" |
57 | #define DRV_VERSION "2.1" | 57 | #define DRV_VERSION "2.1" |
diff --git a/drivers/net/ethernet/natsemi/ns83820.c b/drivers/net/ethernet/natsemi/ns83820.c index 93c4bdc0cdca..f9d2eb9a920a 100644 --- a/drivers/net/ethernet/natsemi/ns83820.c +++ b/drivers/net/ethernet/natsemi/ns83820.c | |||
@@ -119,7 +119,7 @@ | |||
119 | #include <linux/slab.h> | 119 | #include <linux/slab.h> |
120 | 120 | ||
121 | #include <asm/io.h> | 121 | #include <asm/io.h> |
122 | #include <asm/uaccess.h> | 122 | #include <linux/uaccess.h> |
123 | 123 | ||
124 | #define DRV_NAME "ns83820" | 124 | #define DRV_NAME "ns83820" |
125 | 125 | ||
diff --git a/drivers/net/ethernet/packetengines/hamachi.c b/drivers/net/ethernet/packetengines/hamachi.c index 2d04679a923a..baff744b560e 100644 --- a/drivers/net/ethernet/packetengines/hamachi.c +++ b/drivers/net/ethernet/packetengines/hamachi.c | |||
@@ -160,7 +160,7 @@ static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1}; | |||
160 | #include <linux/delay.h> | 160 | #include <linux/delay.h> |
161 | #include <linux/bitops.h> | 161 | #include <linux/bitops.h> |
162 | 162 | ||
163 | #include <asm/uaccess.h> | 163 | #include <linux/uaccess.h> |
164 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 164 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
165 | #include <asm/io.h> | 165 | #include <asm/io.h> |
166 | #include <asm/unaligned.h> | 166 | #include <asm/unaligned.h> |
diff --git a/drivers/net/ethernet/packetengines/yellowfin.c b/drivers/net/ethernet/packetengines/yellowfin.c index 2a2ca5fa0c69..fa7770da6ef8 100644 --- a/drivers/net/ethernet/packetengines/yellowfin.c +++ b/drivers/net/ethernet/packetengines/yellowfin.c | |||
@@ -100,7 +100,7 @@ static int gx_fix; | |||
100 | #include <linux/ethtool.h> | 100 | #include <linux/ethtool.h> |
101 | #include <linux/crc32.h> | 101 | #include <linux/crc32.h> |
102 | #include <linux/bitops.h> | 102 | #include <linux/bitops.h> |
103 | #include <asm/uaccess.h> | 103 | #include <linux/uaccess.h> |
104 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 104 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
105 | #include <asm/unaligned.h> | 105 | #include <asm/unaligned.h> |
106 | #include <asm/io.h> | 106 | #include <asm/io.h> |
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c index b7c89ebcf4a2..0b3cd58093d5 100644 --- a/drivers/net/ethernet/realtek/8139cp.c +++ b/drivers/net/ethernet/realtek/8139cp.c | |||
@@ -76,7 +76,7 @@ | |||
76 | #include <linux/cache.h> | 76 | #include <linux/cache.h> |
77 | #include <asm/io.h> | 77 | #include <asm/io.h> |
78 | #include <asm/irq.h> | 78 | #include <asm/irq.h> |
79 | #include <asm/uaccess.h> | 79 | #include <linux/uaccess.h> |
80 | 80 | ||
81 | /* These identify the driver base version and may not be removed. */ | 81 | /* These identify the driver base version and may not be removed. */ |
82 | static char version[] = | 82 | static char version[] = |
diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c index 42051ab98cf0..d390b9663dc3 100644 --- a/drivers/net/ethernet/sgi/ioc3-eth.c +++ b/drivers/net/ethernet/sgi/ioc3-eth.c | |||
@@ -60,7 +60,7 @@ | |||
60 | #include <asm/byteorder.h> | 60 | #include <asm/byteorder.h> |
61 | #include <asm/io.h> | 61 | #include <asm/io.h> |
62 | #include <asm/pgtable.h> | 62 | #include <asm/pgtable.h> |
63 | #include <asm/uaccess.h> | 63 | #include <linux/uaccess.h> |
64 | #include <asm/sn/types.h> | 64 | #include <asm/sn/types.h> |
65 | #include <asm/sn/ioc3.h> | 65 | #include <asm/sn/ioc3.h> |
66 | #include <asm/pci/bridge.h> | 66 | #include <asm/pci/bridge.h> |
diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/sis900.c index 39fca6c0b68d..19a458716f1a 100644 --- a/drivers/net/ethernet/sis/sis900.c +++ b/drivers/net/ethernet/sis/sis900.c | |||
@@ -74,7 +74,7 @@ | |||
74 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 74 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
75 | #include <asm/io.h> | 75 | #include <asm/io.h> |
76 | #include <asm/irq.h> | 76 | #include <asm/irq.h> |
77 | #include <asm/uaccess.h> /* User space memory access functions */ | 77 | #include <linux/uaccess.h> /* User space memory access functions */ |
78 | 78 | ||
79 | #include "sis900.h" | 79 | #include "sis900.h" |
80 | 80 | ||
diff --git a/drivers/net/ethernet/smsc/epic100.c b/drivers/net/ethernet/smsc/epic100.c index fe9760ffab51..55a95e1d69d6 100644 --- a/drivers/net/ethernet/smsc/epic100.c +++ b/drivers/net/ethernet/smsc/epic100.c | |||
@@ -86,7 +86,7 @@ static int rx_copybreak; | |||
86 | #include <linux/crc32.h> | 86 | #include <linux/crc32.h> |
87 | #include <linux/bitops.h> | 87 | #include <linux/bitops.h> |
88 | #include <asm/io.h> | 88 | #include <asm/io.h> |
89 | #include <asm/uaccess.h> | 89 | #include <linux/uaccess.h> |
90 | #include <asm/byteorder.h> | 90 | #include <asm/byteorder.h> |
91 | 91 | ||
92 | /* These identify the driver base version and may not be removed. */ | 92 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/smsc/smc91c92_cs.c b/drivers/net/ethernet/smsc/smc91c92_cs.c index f1c75e291e55..67154621abcf 100644 --- a/drivers/net/ethernet/smsc/smc91c92_cs.c +++ b/drivers/net/ethernet/smsc/smc91c92_cs.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <pcmcia/ss.h> | 52 | #include <pcmcia/ss.h> |
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | /*====================================================================*/ | 57 | /*====================================================================*/ |
58 | 58 | ||
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c index e9e5ef241c6f..0e8e89f17dbb 100644 --- a/drivers/net/ethernet/sun/cassini.c +++ b/drivers/net/ethernet/sun/cassini.c | |||
@@ -99,7 +99,7 @@ | |||
99 | #include <linux/atomic.h> | 99 | #include <linux/atomic.h> |
100 | #include <asm/io.h> | 100 | #include <asm/io.h> |
101 | #include <asm/byteorder.h> | 101 | #include <asm/byteorder.h> |
102 | #include <asm/uaccess.h> | 102 | #include <linux/uaccess.h> |
103 | 103 | ||
104 | #define cas_page_map(x) kmap_atomic((x)) | 104 | #define cas_page_map(x) kmap_atomic((x)) |
105 | #define cas_page_unmap(x) kunmap_atomic((x)) | 105 | #define cas_page_unmap(x) kunmap_atomic((x)) |
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index 66ecf0fcc330..d277e4107976 100644 --- a/drivers/net/ethernet/sun/sungem.c +++ b/drivers/net/ethernet/sun/sungem.c | |||
@@ -42,7 +42,7 @@ | |||
42 | 42 | ||
43 | #include <asm/io.h> | 43 | #include <asm/io.h> |
44 | #include <asm/byteorder.h> | 44 | #include <asm/byteorder.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/irq.h> | 46 | #include <asm/irq.h> |
47 | 47 | ||
48 | #ifdef CONFIG_SPARC | 48 | #ifdef CONFIG_SPARC |
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index ca96408058b0..72ff05cd3ed8 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <asm/prom.h> | 49 | #include <asm/prom.h> |
50 | #include <asm/auxio.h> | 50 | #include <asm/auxio.h> |
51 | #endif | 51 | #endif |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | #include <asm/pgtable.h> | 54 | #include <asm/pgtable.h> |
55 | #include <asm/irq.h> | 55 | #include <asm/irq.h> |
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index ba5c54249055..0a6c4e804eed 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c | |||
@@ -114,7 +114,7 @@ static const int multicast_filter_limit = 32; | |||
114 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 114 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
115 | #include <asm/io.h> | 115 | #include <asm/io.h> |
116 | #include <asm/irq.h> | 116 | #include <asm/irq.h> |
117 | #include <asm/uaccess.h> | 117 | #include <linux/uaccess.h> |
118 | #include <linux/dmi.h> | 118 | #include <linux/dmi.h> |
119 | 119 | ||
120 | /* These identify the driver base version and may not be removed. */ | 120 | /* These identify the driver base version and may not be removed. */ |
diff --git a/drivers/net/ethernet/xircom/xirc2ps_cs.c b/drivers/net/ethernet/xircom/xirc2ps_cs.c index 3b08ec766076..f71883264cc0 100644 --- a/drivers/net/ethernet/xircom/xirc2ps_cs.c +++ b/drivers/net/ethernet/xircom/xirc2ps_cs.c | |||
@@ -88,7 +88,7 @@ | |||
88 | #include <pcmcia/ciscode.h> | 88 | #include <pcmcia/ciscode.h> |
89 | 89 | ||
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #ifndef MANFID_COMPAQ | 93 | #ifndef MANFID_COMPAQ |
94 | #define MANFID_COMPAQ 0x0138 | 94 | #define MANFID_COMPAQ 0x0138 |
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c index 3a639180e4a0..2414f1dc8ddd 100644 --- a/drivers/net/fddi/skfp/skfddi.c +++ b/drivers/net/fddi/skfp/skfddi.c | |||
@@ -88,7 +88,7 @@ static const char * const boot_msg = | |||
88 | 88 | ||
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
91 | #include <asm/uaccess.h> | 91 | #include <linux/uaccess.h> |
92 | 92 | ||
93 | #include "h/types.h" | 93 | #include "h/types.h" |
94 | #undef ADDR // undo Linux definition | 94 | #undef ADDR // undo Linux definition |
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index 470b3dcd54e5..922bf440e9f1 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c index 78dbc44540f6..7d054697b199 100644 --- a/drivers/net/hamradio/baycom_epp.c +++ b/drivers/net/hamradio/baycom_epp.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/jiffies.h> | 55 | #include <linux/jiffies.h> |
56 | #include <linux/random.h> | 56 | #include <linux/random.h> |
57 | #include <net/ax25.h> | 57 | #include <net/ax25.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | /* --------------------------------------------------------------------- */ | 60 | /* --------------------------------------------------------------------- */ |
61 | 61 | ||
diff --git a/drivers/net/hamradio/baycom_par.c b/drivers/net/hamradio/baycom_par.c index 072cddce9264..809dc25909d1 100644 --- a/drivers/net/hamradio/baycom_par.c +++ b/drivers/net/hamradio/baycom_par.c | |||
@@ -86,7 +86,7 @@ | |||
86 | #include <linux/bitops.h> | 86 | #include <linux/bitops.h> |
87 | #include <linux/jiffies.h> | 87 | #include <linux/jiffies.h> |
88 | 88 | ||
89 | #include <asm/uaccess.h> | 89 | #include <linux/uaccess.h> |
90 | 90 | ||
91 | /* --------------------------------------------------------------------- */ | 91 | /* --------------------------------------------------------------------- */ |
92 | 92 | ||
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c index 7b916d5b14b9..ebc06822fd4d 100644 --- a/drivers/net/hamradio/baycom_ser_fdx.c +++ b/drivers/net/hamradio/baycom_ser_fdx.c | |||
@@ -82,7 +82,7 @@ | |||
82 | #include <linux/jiffies.h> | 82 | #include <linux/jiffies.h> |
83 | #include <linux/time64.h> | 83 | #include <linux/time64.h> |
84 | 84 | ||
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <asm/io.h> | 86 | #include <asm/io.h> |
87 | #include <asm/irq.h> | 87 | #include <asm/irq.h> |
88 | 88 | ||
diff --git a/drivers/net/hamradio/baycom_ser_hdx.c b/drivers/net/hamradio/baycom_ser_hdx.c index f9a8976195ba..60fcf512c208 100644 --- a/drivers/net/hamradio/baycom_ser_hdx.c +++ b/drivers/net/hamradio/baycom_ser_hdx.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include <linux/string.h> | 67 | #include <linux/string.h> |
68 | #include <linux/init.h> | 68 | #include <linux/init.h> |
69 | #include <linux/interrupt.h> | 69 | #include <linux/interrupt.h> |
70 | #include <asm/uaccess.h> | 70 | #include <linux/uaccess.h> |
71 | #include <asm/io.h> | 71 | #include <asm/io.h> |
72 | #include <linux/hdlcdrv.h> | 72 | #include <linux/hdlcdrv.h> |
73 | #include <linux/baycom.h> | 73 | #include <linux/baycom.h> |
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 622ab3ab9e93..f62e7f325cf9 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -69,7 +69,7 @@ | |||
69 | #include <linux/if_arp.h> | 69 | #include <linux/if_arp.h> |
70 | #include <linux/skbuff.h> | 70 | #include <linux/skbuff.h> |
71 | #include <net/sock.h> | 71 | #include <net/sock.h> |
72 | #include <asm/uaccess.h> | 72 | #include <linux/uaccess.h> |
73 | #include <linux/mm.h> | 73 | #include <linux/mm.h> |
74 | #include <linux/interrupt.h> | 74 | #include <linux/interrupt.h> |
75 | #include <linux/notifier.h> | 75 | #include <linux/notifier.h> |
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index e4137c1b3df9..2479072981a1 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <asm/dma.h> | 40 | #include <asm/dma.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <net/ax25.h> | 44 | #include <net/ax25.h> |
45 | #include "z8530.h" | 45 | #include "z8530.h" |
46 | 46 | ||
diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c index 4bad0b894e9c..8c3633c1d078 100644 --- a/drivers/net/hamradio/hdlcdrv.c +++ b/drivers/net/hamradio/hdlcdrv.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/hdlcdrv.h> | 58 | #include <linux/hdlcdrv.h> |
59 | #include <linux/random.h> | 59 | #include <linux/random.h> |
60 | #include <net/ax25.h> | 60 | #include <net/ax25.h> |
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | 62 | ||
63 | #include <linux/crc-ccitt.h> | 63 | #include <linux/crc-ccitt.h> |
64 | 64 | ||
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 1dfe2304daa7..ece59c54a653 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/bitops.h> | 19 | #include <linux/bitops.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/crc16.h> | 21 | #include <linux/crc16.h> |
22 | #include <linux/string.h> | 22 | #include <linux/string.h> |
23 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c index b8083161ef46..6754cd01c605 100644 --- a/drivers/net/hamradio/scc.c +++ b/drivers/net/hamradio/scc.c | |||
@@ -178,7 +178,7 @@ | |||
178 | 178 | ||
179 | #include <asm/irq.h> | 179 | #include <asm/irq.h> |
180 | #include <asm/io.h> | 180 | #include <asm/io.h> |
181 | #include <asm/uaccess.h> | 181 | #include <linux/uaccess.h> |
182 | 182 | ||
183 | #include "z8530.h" | 183 | #include "z8530.h" |
184 | 184 | ||
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c index aaff07c10058..b6891ada1d7b 100644 --- a/drivers/net/hamradio/yam.c +++ b/drivers/net/hamradio/yam.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/seq_file.h> | 68 | #include <linux/seq_file.h> |
69 | #include <net/net_namespace.h> | 69 | #include <net/net_namespace.h> |
70 | 70 | ||
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <linux/init.h> | 72 | #include <linux/init.h> |
73 | 73 | ||
74 | #include <linux/yam.h> | 74 | #include <linux/yam.h> |
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c index f5a9728b89f3..dd7fc6659ad4 100644 --- a/drivers/net/hippi/rrunner.c +++ b/drivers/net/hippi/rrunner.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/byteorder.h> | 46 | #include <asm/byteorder.h> |
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #define rr_if_busy(dev) netif_queue_stopped(dev) | 51 | #define rr_if_busy(dev) netif_queue_stopped(dev) |
52 | #define rr_if_running(dev) netif_running(dev) | 52 | #define rr_if_running(dev) netif_running(dev) |
diff --git a/drivers/net/irda/irtty-sir.c b/drivers/net/irda/irtty-sir.c index 7a3f990c1935..7a20a9a4663a 100644 --- a/drivers/net/irda/irtty-sir.c +++ b/drivers/net/irda/irtty-sir.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/tty.h> | 32 | #include <linux/tty.h> |
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/delay.h> | 35 | #include <linux/delay.h> |
36 | #include <linux/mutex.h> | 36 | #include <linux/mutex.h> |
37 | 37 | ||
diff --git a/drivers/net/irda/kingsun-sir.c b/drivers/net/irda/kingsun-sir.c index fb5d162ec7d2..24c0f169a7b1 100644 --- a/drivers/net/irda/kingsun-sir.c +++ b/drivers/net/irda/kingsun-sir.c | |||
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <asm/unaligned.h> | 72 | #include <asm/unaligned.h> |
73 | #include <asm/byteorder.h> | 73 | #include <asm/byteorder.h> |
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <net/irda/irda.h> | 76 | #include <net/irda/irda.h> |
77 | #include <net/irda/wrapper.h> | 77 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/ks959-sir.c b/drivers/net/irda/ks959-sir.c index 8e6e0edf2440..3affded3e30d 100644 --- a/drivers/net/irda/ks959-sir.c +++ b/drivers/net/irda/ks959-sir.c | |||
@@ -123,7 +123,7 @@ | |||
123 | 123 | ||
124 | #include <asm/unaligned.h> | 124 | #include <asm/unaligned.h> |
125 | #include <asm/byteorder.h> | 125 | #include <asm/byteorder.h> |
126 | #include <asm/uaccess.h> | 126 | #include <linux/uaccess.h> |
127 | 127 | ||
128 | #include <net/irda/irda.h> | 128 | #include <net/irda/irda.h> |
129 | #include <net/irda/wrapper.h> | 129 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/ksdazzle-sir.c b/drivers/net/irda/ksdazzle-sir.c index 37f23a189b35..741452c7ce35 100644 --- a/drivers/net/irda/ksdazzle-sir.c +++ b/drivers/net/irda/ksdazzle-sir.c | |||
@@ -87,7 +87,7 @@ | |||
87 | 87 | ||
88 | #include <asm/unaligned.h> | 88 | #include <asm/unaligned.h> |
89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
90 | #include <asm/uaccess.h> | 90 | #include <linux/uaccess.h> |
91 | 91 | ||
92 | #include <net/irda/irda.h> | 92 | #include <net/irda/irda.h> |
93 | #include <net/irda/wrapper.h> | 93 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/mcs7780.c b/drivers/net/irda/mcs7780.c index bca6a1e72d1d..6f6ed75b63c9 100644 --- a/drivers/net/irda/mcs7780.c +++ b/drivers/net/irda/mcs7780.c | |||
@@ -55,7 +55,7 @@ | |||
55 | 55 | ||
56 | #include <asm/unaligned.h> | 56 | #include <asm/unaligned.h> |
57 | #include <asm/byteorder.h> | 57 | #include <asm/byteorder.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | #include <net/irda/irda.h> | 60 | #include <net/irda/irda.h> |
61 | #include <net/irda/wrapper.h> | 61 | #include <net/irda/wrapper.h> |
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index a0849f49bbec..ffedad2a360a 100644 --- a/drivers/net/irda/vlsi_ir.c +++ b/drivers/net/irda/vlsi_ir.c | |||
@@ -45,7 +45,7 @@ MODULE_LICENSE("GPL"); | |||
45 | #include <linux/seq_file.h> | 45 | #include <linux/seq_file.h> |
46 | #include <linux/math64.h> | 46 | #include <linux/math64.h> |
47 | #include <linux/mutex.h> | 47 | #include <linux/mutex.h> |
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | 50 | ||
51 | #include <net/irda/irda.h> | 51 | #include <net/irda/irda.h> |
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 6255973e3dda..1e05b7c2d157 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/fcntl.h> | 40 | #include <linux/fcntl.h> |
41 | #include <linux/in.h> | 41 | #include <linux/in.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | 45 | ||
46 | #include <linux/inet.h> | 46 | #include <linux/inet.h> |
diff --git a/drivers/net/phy/davicom.c b/drivers/net/phy/davicom.c index 36e3e2033eca..e28913d9ea7e 100644 --- a/drivers/net/phy/davicom.c +++ b/drivers/net/phy/davicom.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | #define MII_DM9161_SCR 0x10 | 37 | #define MII_DM9161_SCR 0x10 |
38 | #define MII_DM9161_SCR_INIT 0x0610 | 38 | #define MII_DM9161_SCR_INIT 0x0610 |
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index 22b51f01a94a..567280a72241 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c | |||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"); | 33 | MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"); |
34 | MODULE_AUTHOR("Michael Barkowski"); | 34 | MODULE_AUTHOR("Michael Barkowski"); |
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c index b9fde1bcf0f0..8d198a1f0031 100644 --- a/drivers/net/phy/lxt.c +++ b/drivers/net/phy/lxt.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | /* The Level one LXT970 is used by many boards */ | 37 | /* The Level one LXT970 is used by many boards */ |
38 | 38 | ||
diff --git a/drivers/net/phy/qsemi.c b/drivers/net/phy/qsemi.c index d470db89e8dd..dbef8002bc28 100644 --- a/drivers/net/phy/qsemi.c +++ b/drivers/net/phy/qsemi.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | /* ------------------------------------------------------------------------- */ | 37 | /* ------------------------------------------------------------------------- */ |
38 | /* The Quality Semiconductor QS6612 is used on the RPX CLLF */ | 38 | /* The Quality Semiconductor QS6612 is used on the RPX CLLF */ |
diff --git a/drivers/net/ppp/ppp_async.c b/drivers/net/ppp/ppp_async.c index 9c889e0303dd..feb9569e3345 100644 --- a/drivers/net/ppp/ppp_async.c +++ b/drivers/net/ppp/ppp_async.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/jiffies.h> | 34 | #include <linux/jiffies.h> |
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | #include <asm/unaligned.h> | 36 | #include <asm/unaligned.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/string.h> | 38 | #include <asm/string.h> |
39 | 39 | ||
40 | #define PPP_VERSION "2.4.2" | 40 | #define PPP_VERSION "2.4.2" |
diff --git a/drivers/net/ppp/ppp_synctty.c b/drivers/net/ppp/ppp_synctty.c index 925d3e295bac..9ae53986cb4a 100644 --- a/drivers/net/ppp/ppp_synctty.c +++ b/drivers/net/ppp/ppp_synctty.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/interrupt.h> | 47 | #include <linux/interrupt.h> |
48 | #include <linux/slab.h> | 48 | #include <linux/slab.h> |
49 | #include <asm/unaligned.h> | 49 | #include <asm/unaligned.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #define PPP_VERSION "2.4.2" | 52 | #define PPP_VERSION "2.4.2" |
53 | 53 | ||
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c index f017c72bb7fd..d7e405268983 100644 --- a/drivers/net/ppp/pppoe.c +++ b/drivers/net/ppp/pppoe.c | |||
@@ -83,7 +83,7 @@ | |||
83 | #include <net/netns/generic.h> | 83 | #include <net/netns/generic.h> |
84 | #include <net/sock.h> | 84 | #include <net/sock.h> |
85 | 85 | ||
86 | #include <asm/uaccess.h> | 86 | #include <linux/uaccess.h> |
87 | 87 | ||
88 | #define PPPOE_HASH_BITS 4 | 88 | #define PPPOE_HASH_BITS 4 |
89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) | 89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) |
diff --git a/drivers/net/ppp/pppox.c b/drivers/net/ppp/pppox.c index b9c8be6283d3..c0599b3b23c0 100644 --- a/drivers/net/ppp/pppox.c +++ b/drivers/net/ppp/pppox.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | #include <net/sock.h> | 35 | #include <net/sock.h> |
36 | 36 | ||
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; | 39 | static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; |
40 | 40 | ||
diff --git a/drivers/net/sb1000.c b/drivers/net/sb1000.c index 8b8b53259783..7820fced33f6 100644 --- a/drivers/net/sb1000.c +++ b/drivers/net/sb1000.c | |||
@@ -55,7 +55,7 @@ static char version[] = "sb1000.c:v1.1.2 6/01/98 (fventuri@mediaone.net)\n"; | |||
55 | 55 | ||
56 | #include <asm/io.h> | 56 | #include <asm/io.h> |
57 | #include <asm/processor.h> | 57 | #include <asm/processor.h> |
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | #ifdef SB1000_DEBUG | 60 | #ifdef SB1000_DEBUG |
61 | static int sb1000_debug = SB1000_DEBUG; | 61 | static int sb1000_debug = SB1000_DEBUG; |
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c index 27ed25252aac..5782733959f0 100644 --- a/drivers/net/slip/slhc.c +++ b/drivers/net/slip/slhc.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include <linux/skbuff.h> | 75 | #include <linux/skbuff.h> |
76 | #include <net/sock.h> | 76 | #include <net/sock.h> |
77 | #include <linux/timer.h> | 77 | #include <linux/timer.h> |
78 | #include <asm/uaccess.h> | 78 | #include <linux/uaccess.h> |
79 | #include <net/checksum.h> | 79 | #include <net/checksum.h> |
80 | #include <asm/unaligned.h> | 80 | #include <asm/unaligned.h> |
81 | 81 | ||
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index 7e933d8ff811..9841f3dc0682 100644 --- a/drivers/net/slip/slip.c +++ b/drivers/net/slip/slip.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <linux/module.h> | 64 | #include <linux/module.h> |
65 | #include <linux/moduleparam.h> | 65 | #include <linux/moduleparam.h> |
66 | 66 | ||
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <linux/bitops.h> | 68 | #include <linux/bitops.h> |
69 | #include <linux/sched.h> | 69 | #include <linux/sched.h> |
70 | #include <linux/string.h> | 70 | #include <linux/string.h> |
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 57e88b814700..cd8e02c94be0 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -73,7 +73,7 @@ | |||
73 | #include <linux/uio.h> | 73 | #include <linux/uio.h> |
74 | #include <linux/skb_array.h> | 74 | #include <linux/skb_array.h> |
75 | 75 | ||
76 | #include <asm/uaccess.h> | 76 | #include <linux/uaccess.h> |
77 | 77 | ||
78 | /* Uncomment to enable debugging */ | 78 | /* Uncomment to enable debugging */ |
79 | /* #define TUN_DEBUG 1 */ | 79 | /* #define TUN_DEBUG 1 */ |
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index a1f2f6f1e614..3daa41bdd4ea 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/crc32.h> | 42 | #include <linux/crc32.h> |
43 | #include <linux/bitops.h> | 43 | #include <linux/bitops.h> |
44 | #include <linux/gfp.h> | 44 | #include <linux/gfp.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #undef DEBUG | 47 | #undef DEBUG |
48 | 48 | ||
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index 338aed5da14d..876f02f4945e 100644 --- a/drivers/net/usb/kaweth.c +++ b/drivers/net/usb/kaweth.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <linux/dma-mapping.h> | 54 | #include <linux/dma-mapping.h> |
55 | #include <linux/wait.h> | 55 | #include <linux/wait.h> |
56 | #include <linux/firmware.h> | 56 | #include <linux/firmware.h> |
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | #include <asm/byteorder.h> | 58 | #include <asm/byteorder.h> |
59 | 59 | ||
60 | #undef DEBUG | 60 | #undef DEBUG |
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c index 399f7ee57aea..24e803fe9a53 100644 --- a/drivers/net/usb/pegasus.c +++ b/drivers/net/usb/pegasus.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/usb.h> | 42 | #include <linux/usb.h> |
43 | #include <linux/module.h> | 43 | #include <linux/module.h> |
44 | #include <asm/byteorder.h> | 44 | #include <asm/byteorder.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include "pegasus.h" | 46 | #include "pegasus.h" |
47 | 47 | ||
48 | /* | 48 | /* |
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 93a1bda1c1e5..95b7bd0d7abc 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/mii.h> | 14 | #include <linux/mii.h> |
15 | #include <linux/ethtool.h> | 15 | #include <linux/ethtool.h> |
16 | #include <linux/usb.h> | 16 | #include <linux/usb.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /* Version Information */ | 19 | /* Version Information */ |
20 | #define DRIVER_VERSION "v0.6.2 (2004/08/27)" | 20 | #define DRIVER_VERSION "v0.6.2 (2004/08/27)" |
diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c index ae6ecf401189..65ee2a6f248c 100644 --- a/drivers/net/wan/dlci.c +++ b/drivers/net/wan/dlci.c | |||
@@ -52,7 +52,7 @@ | |||
52 | 52 | ||
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <asm/dma.h> | 54 | #include <asm/dma.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org"; | 57 | static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org"; |
58 | 58 | ||
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index 7351e5440ed7..799830ffcae2 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c | |||
@@ -95,7 +95,7 @@ | |||
95 | 95 | ||
96 | #include <asm/cache.h> | 96 | #include <asm/cache.h> |
97 | #include <asm/byteorder.h> | 97 | #include <asm/byteorder.h> |
98 | #include <asm/uaccess.h> | 98 | #include <linux/uaccess.h> |
99 | #include <asm/io.h> | 99 | #include <asm/io.h> |
100 | #include <asm/irq.h> | 100 | #include <asm/irq.h> |
101 | 101 | ||
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c index 03696d35ee9c..33265eb50420 100644 --- a/drivers/net/wan/farsync.c +++ b/drivers/net/wan/farsync.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/if.h> | 30 | #include <linux/if.h> |
31 | #include <linux/hdlc.h> | 31 | #include <linux/hdlc.h> |
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #include "farsync.h" | 35 | #include "farsync.h" |
36 | 36 | ||
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c index dc334c85d966..166696d2c496 100644 --- a/drivers/net/wan/hd64570.c +++ b/drivers/net/wan/hd64570.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/string.h> | 39 | #include <linux/string.h> |
40 | #include <linux/types.h> | 40 | #include <linux/types.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include "hd64570.h" | 43 | #include "hd64570.h" |
44 | 44 | ||
45 | #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) | 45 | #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) |
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c index e92ecf1d3314..7ef49dab6855 100644 --- a/drivers/net/wan/hd64572.c +++ b/drivers/net/wan/hd64572.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/string.h> | 39 | #include <linux/string.h> |
40 | #include <linux/types.h> | 40 | #include <linux/types.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include "hd64572.h" | 43 | #include "hd64572.h" |
44 | 44 | ||
45 | #define NAPI_WEIGHT 16 | 45 | #define NAPI_WEIGHT 16 |
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index 6676607164d6..9df9ed62beff 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/if_arp.h> | 35 | #include <linux/if_arp.h> |
36 | #include <linux/skbuff.h> | 36 | #include <linux/skbuff.h> |
37 | #include <net/sock.h> | 37 | #include <net/sock.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <linux/mm.h> | 39 | #include <linux/mm.h> |
40 | #include <linux/interrupt.h> | 40 | #include <linux/interrupt.h> |
41 | #include <linux/notifier.h> | 41 | #include <linux/notifier.h> |
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 001b7796740d..4698450c77d1 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <asm/processor.h> /* Processor type for cache alignment. */ | 59 | #include <asm/processor.h> /* Processor type for cache alignment. */ |
60 | #include <asm/io.h> | 60 | #include <asm/io.h> |
61 | #include <asm/dma.h> | 61 | #include <asm/dma.h> |
62 | #include <asm/uaccess.h> | 62 | #include <linux/uaccess.h> |
63 | //#include <asm/spinlock.h> | 63 | //#include <asm/spinlock.h> |
64 | 64 | ||
65 | #define DRIVER_MAJOR_VERSION 1 | 65 | #define DRIVER_MAJOR_VERSION 1 |
diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c index ff2e4a5654c7..cffe23bd16e1 100644 --- a/drivers/net/wan/lmc/lmc_media.c +++ b/drivers/net/wan/lmc/lmc_media.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | #include <asm/dma.h> | 20 | #include <asm/dma.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include "lmc.h" | 24 | #include "lmc.h" |
25 | #include "lmc_var.h" | 25 | #include "lmc_var.h" |
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 3f83be98d469..3ca3419c54a0 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <asm/types.h> | 63 | #include <asm/types.h> |
64 | #include <asm/byteorder.h> | 64 | #include <asm/byteorder.h> |
65 | #include <asm/irq.h> | 65 | #include <asm/irq.h> |
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | 67 | ||
68 | #include "sbni.h" | 68 | #include "sbni.h" |
69 | 69 | ||
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c index 421ac5f85699..236c62538036 100644 --- a/drivers/net/wan/sdla.c +++ b/drivers/net/wan/sdla.c | |||
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #include <asm/io.h> | 57 | #include <asm/io.h> |
58 | #include <asm/dma.h> | 58 | #include <asm/dma.h> |
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | 60 | ||
61 | static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org"; | 61 | static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org"; |
62 | 62 | ||
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c index eb92d5ab7a27..e12f62356fd1 100644 --- a/drivers/net/wireless/atmel/atmel.c +++ b/drivers/net/wireless/atmel/atmel.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/timer.h> | 48 | #include <linux/timer.h> |
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | #include <asm/io.h> | 50 | #include <asm/io.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <linux/module.h> | 52 | #include <linux/module.h> |
53 | #include <linux/netdevice.h> | 53 | #include <linux/netdevice.h> |
54 | #include <linux/etherdevice.h> | 54 | #include <linux/etherdevice.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c index 64176090b196..356aba9d3d53 100644 --- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c | |||
@@ -148,7 +148,7 @@ that only one external action is invoked at a time. | |||
148 | #include <linux/dma-mapping.h> | 148 | #include <linux/dma-mapping.h> |
149 | #include <linux/proc_fs.h> | 149 | #include <linux/proc_fs.h> |
150 | #include <linux/skbuff.h> | 150 | #include <linux/skbuff.h> |
151 | #include <asm/uaccess.h> | 151 | #include <linux/uaccess.h> |
152 | #include <asm/io.h> | 152 | #include <asm/io.h> |
153 | #include <linux/fs.h> | 153 | #include <linux/fs.h> |
154 | #include <linux/mm.h> | 154 | #include <linux/mm.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c index 218f2a32de21..ce7eda20a68f 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/types.h> | 38 | #include <linux/types.h> |
39 | #include <linux/wireless.h> | 39 | #include <linux/wireless.h> |
40 | #include <linux/etherdevice.h> | 40 | #include <linux/etherdevice.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include "libipw.h" | 43 | #include "libipw.h" |
44 | 44 | ||
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_module.c b/drivers/net/wireless/intel/ipw2x00/libipw_module.c index 2332075565f2..c58c5b2dcce5 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_module.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/types.h> | 46 | #include <linux/types.h> |
47 | #include <linux/wireless.h> | 47 | #include <linux/wireless.h> |
48 | #include <linux/etherdevice.h> | 48 | #include <linux/etherdevice.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <net/net_namespace.h> | 50 | #include <net/net_namespace.h> |
51 | #include <net/arp.h> | 51 | #include <net/arp.h> |
52 | 52 | ||
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c index 1c1ec7bb9302..6df19f03355a 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
30 | #include <linux/wireless.h> | 30 | #include <linux/wireless.h> |
31 | #include <linux/etherdevice.h> | 31 | #include <linux/etherdevice.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/ctype.h> | 33 | #include <linux/ctype.h> |
34 | 34 | ||
35 | #include <net/lib80211.h> | 35 | #include <net/lib80211.h> |
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c index e8c039879b05..048f1e3ada11 100644 --- a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c +++ b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/types.h> | 39 | #include <linux/types.h> |
40 | #include <linux/wireless.h> | 40 | #include <linux/wireless.h> |
41 | #include <linux/etherdevice.h> | 41 | #include <linux/etherdevice.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | 43 | ||
44 | #include "libipw.h" | 44 | #include "libipw.h" |
45 | 45 | ||
diff --git a/drivers/net/wireless/intersil/hostap/hostap_hw.c b/drivers/net/wireless/intersil/hostap/hostap_hw.c index a8a9bd8e176a..544ef7adde7d 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_hw.c +++ b/drivers/net/wireless/intersil/hostap/hostap_hw.c | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | 33 | ||
34 | #include <asm/delay.h> | 34 | #include <asm/delay.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/netdevice.h> | 38 | #include <linux/netdevice.h> |
diff --git a/drivers/net/wireless/intersil/hostap/hostap_main.c b/drivers/net/wireless/intersil/hostap/hostap_main.c index 1a16b8cb366e..544fc09dcb62 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_main.c +++ b/drivers/net/wireless/intersil/hostap/hostap_main.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <net/net_namespace.h> | 27 | #include <net/net_namespace.h> |
28 | #include <net/iw_handler.h> | 28 | #include <net/iw_handler.h> |
29 | #include <net/lib80211.h> | 29 | #include <net/lib80211.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | 31 | ||
32 | #include "hostap_wlan.h" | 32 | #include "hostap_wlan.h" |
33 | #include "hostap_80211.h" | 33 | #include "hostap_80211.h" |
diff --git a/drivers/net/wireless/intersil/prism54/isl_38xx.c b/drivers/net/wireless/intersil/prism54/isl_38xx.c index 6700387ef9ab..ce9d4db0d9ca 100644 --- a/drivers/net/wireless/intersil/prism54/isl_38xx.c +++ b/drivers/net/wireless/intersil/prism54/isl_38xx.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/ktime.h> | 22 | #include <linux/ktime.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/io.h> | 25 | #include <asm/io.h> |
26 | 26 | ||
27 | #include "prismcompat.h" | 27 | #include "prismcompat.h" |
diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c index 48e8a978a832..334717b0a2be 100644 --- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c +++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/pci.h> | 26 | #include <linux/pci.h> |
27 | #include <linux/etherdevice.h> | 27 | #include <linux/etherdevice.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include "prismcompat.h" | 31 | #include "prismcompat.h" |
32 | #include "isl_ioctl.h" | 32 | #include "isl_ioctl.h" |
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 4fdc7223c894..b94479441b0c 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/byteorder.h> | 55 | #include <asm/byteorder.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | 57 | ||
58 | /* Warning : these stuff will slow down the driver... */ | 58 | /* Warning : these stuff will slow down the driver... */ |
59 | #define WIRELESS_SPY /* Enable spying addresses */ | 59 | #define WIRELESS_SPY /* Enable spying addresses */ |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index d9d29ab88184..acec0d9ec422 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <pcmcia/ds.h> | 51 | #include <pcmcia/ds.h> |
52 | 52 | ||
53 | #include <asm/io.h> | 53 | #include <asm/io.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | 55 | ||
56 | #include "wl3501.h" | 56 | #include "wl3501.h" |
57 | 57 | ||
diff --git a/drivers/nubus/proc.c b/drivers/nubus/proc.c index 5371b374f1fe..e8f68f5732f1 100644 --- a/drivers/nubus/proc.c +++ b/drivers/nubus/proc.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/byteorder.h> | 29 | #include <asm/byteorder.h> |
30 | 30 | ||
31 | static int | 31 | static int |
diff --git a/drivers/oprofile/event_buffer.c b/drivers/oprofile/event_buffer.c index c0cc4e7ff023..67935fbbbcab 100644 --- a/drivers/oprofile/event_buffer.c +++ b/drivers/oprofile/event_buffer.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/capability.h> | 18 | #include <linux/capability.h> |
19 | #include <linux/dcookies.h> | 19 | #include <linux/dcookies.h> |
20 | #include <linux/fs.h> | 20 | #include <linux/fs.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "oprof.h" | 23 | #include "oprof.h" |
24 | #include "event_buffer.h" | 24 | #include "event_buffer.h" |
diff --git a/drivers/oprofile/oprofilefs.c b/drivers/oprofile/oprofilefs.c index 134398e0231b..d77ebbfc67c9 100644 --- a/drivers/oprofile/oprofilefs.c +++ b/drivers/oprofile/oprofilefs.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/oprofile.h> | 15 | #include <linux/oprofile.h> |
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/pagemap.h> | 17 | #include <linux/pagemap.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "oprof.h" | 20 | #include "oprof.h" |
21 | 21 | ||
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 3ed6238f8f6e..553ef8a5d588 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -48,7 +48,7 @@ | |||
48 | 48 | ||
49 | #include <asm/byteorder.h> | 49 | #include <asm/byteorder.h> |
50 | #include <asm/cache.h> /* for L1_CACHE_BYTES */ | 50 | #include <asm/cache.h> /* for L1_CACHE_BYTES */ |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <asm/page.h> | 52 | #include <asm/page.h> |
53 | #include <asm/dma.h> | 53 | #include <asm/dma.h> |
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
diff --git a/drivers/parisc/ccio-rm-dma.c b/drivers/parisc/ccio-rm-dma.c index f78f6f1aef47..1bf988010855 100644 --- a/drivers/parisc/ccio-rm-dma.c +++ b/drivers/parisc/ccio-rm-dma.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/pci.h> | 40 | #include <linux/pci.h> |
41 | #include <linux/gfp.h> | 41 | #include <linux/gfp.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include <asm/io.h> | 45 | #include <asm/io.h> |
46 | #include <asm/hardware.h> | 46 | #include <asm/hardware.h> |
diff --git a/drivers/parisc/eisa_eeprom.c b/drivers/parisc/eisa_eeprom.c index 783906fe659a..4dd9b1308128 100644 --- a/drivers/parisc/eisa_eeprom.c +++ b/drivers/parisc/eisa_eeprom.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/eisa_eeprom.h> | 30 | #include <asm/eisa_eeprom.h> |
31 | 31 | ||
32 | #define EISA_EEPROM_MINOR 241 | 32 | #define EISA_EEPROM_MINOR 241 |
diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c index 21905fef2cbf..d9bffe8d29b9 100644 --- a/drivers/parisc/eisa_enumerator.c +++ b/drivers/parisc/eisa_enumerator.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/byteorder.h> | 19 | #include <asm/byteorder.h> |
20 | 20 | ||
21 | #include <asm/eisa_bus.h> | 21 | #include <asm/eisa_bus.h> |
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index b48243131993..ff1a332d76e4 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <asm/param.h> /* HZ */ | 49 | #include <asm/param.h> /* HZ */ |
50 | #include <asm/led.h> | 50 | #include <asm/led.h> |
51 | #include <asm/pdc.h> | 51 | #include <asm/pdc.h> |
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | 53 | ||
54 | /* The control of the LEDs and LCDs on PARISC-machines have to be done | 54 | /* The control of the LEDs and LCDs on PARISC-machines have to be done |
55 | completely in software. The necessary calculations are done in a work queue | 55 | completely in software. The necessary calculations are done in a work queue |
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c index 3651c3871d5b..055f83fddc18 100644 --- a/drivers/parisc/pdc_stable.c +++ b/drivers/parisc/pdc_stable.c | |||
@@ -68,7 +68,7 @@ | |||
68 | 68 | ||
69 | #include <asm/pdc.h> | 69 | #include <asm/pdc.h> |
70 | #include <asm/page.h> | 70 | #include <asm/page.h> |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <asm/hardware.h> | 72 | #include <asm/hardware.h> |
73 | 73 | ||
74 | #define PDCS_VERSION "0.30" | 74 | #define PDCS_VERSION "0.30" |
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c index 5bed17f68ef4..d998d0ed2bec 100644 --- a/drivers/parport/daisy.c +++ b/drivers/parport/daisy.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | 27 | ||
28 | #include <asm/current.h> | 28 | #include <asm/current.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #undef DEBUG | 31 | #undef DEBUG |
32 | 32 | ||
diff --git a/drivers/parport/ieee1284_ops.c b/drivers/parport/ieee1284_ops.c index 2e21af43d91e..c0e7d21c88c2 100644 --- a/drivers/parport/ieee1284_ops.c +++ b/drivers/parport/ieee1284_ops.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/parport.h> | 18 | #include <linux/parport.h> |
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #undef DEBUG /* undef me for production */ | 23 | #undef DEBUG /* undef me for production */ |
24 | 24 | ||
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 6e3a60c78873..dd6d4ccb41e4 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/dma.h> | 36 | #include <asm/dma.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/superio.h> | 38 | #include <asm/superio.h> |
39 | 39 | ||
40 | #include <linux/parport.h> | 40 | #include <linux/parport.h> |
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c index d763bc9e44c1..4d1d6eaf333d 100644 --- a/drivers/parport/probe.c +++ b/drivers/parport/probe.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/ctype.h> | 10 | #include <linux/ctype.h> |
11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | static const struct { | 15 | static const struct { |
16 | const char *token; | 16 | const char *token; |
diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 74ed3e459a3e..8ee44a104ac4 100644 --- a/drivers/parport/procfs.c +++ b/drivers/parport/procfs.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/sysctl.h> | 23 | #include <linux/sysctl.h> |
24 | #include <linux/device.h> | 24 | #include <linux/device.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) | 28 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) |
29 | 29 | ||
diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c index f6221d739f59..68d105aaf4e2 100644 --- a/drivers/pci/hotplug/acpiphp_ibm.c +++ b/drivers/pci/hotplug/acpiphp_ibm.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/kobject.h> | 35 | #include <linux/kobject.h> |
36 | #include <linux/moduleparam.h> | 36 | #include <linux/moduleparam.h> |
37 | #include <linux/pci.h> | 37 | #include <linux/pci.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include "acpiphp.h" | 40 | #include "acpiphp.h" |
41 | #include "../pci.h" | 41 | #include "../pci.h" |
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index ec009a7dba20..33d300d12411 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/init.h> | 40 | #include <linux/init.h> |
41 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include "cpqphp.h" | 45 | #include "cpqphp.h" |
46 | #include "cpqphp_nvram.h" | 46 | #include "cpqphp_nvram.h" |
diff --git a/drivers/pci/hotplug/cpqphp_nvram.c b/drivers/pci/hotplug/cpqphp_nvram.c index c25fc9061059..daae8071a156 100644 --- a/drivers/pci/hotplug/cpqphp_nvram.c +++ b/drivers/pci/hotplug/cpqphp_nvram.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/workqueue.h> | 34 | #include <linux/workqueue.h> |
35 | #include <linux/pci.h> | 35 | #include <linux/pci.h> |
36 | #include <linux/pci_hotplug.h> | 36 | #include <linux/pci_hotplug.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include "cpqphp.h" | 38 | #include "cpqphp.h" |
39 | #include "cpqphp_nvram.h" | 39 | #include "cpqphp_nvram.h" |
40 | 40 | ||
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c index 56013d0daf7f..7b0e97be9063 100644 --- a/drivers/pci/hotplug/pci_hotplug_core.c +++ b/drivers/pci/hotplug/pci_hotplug_core.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/mutex.h> | 42 | #include <linux/mutex.h> |
43 | #include <linux/pci.h> | 43 | #include <linux/pci.h> |
44 | #include <linux/pci_hotplug.h> | 44 | #include <linux/pci_hotplug.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include "../pci.h" | 46 | #include "../pci.h" |
47 | #include "cpci_hotplug.h" | 47 | #include "cpci_hotplug.h" |
48 | 48 | ||
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 2408abe4ee8c..f82710a8694d 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/proc_fs.h> | 11 | #include <linux/proc_fs.h> |
12 | #include <linux/seq_file.h> | 12 | #include <linux/seq_file.h> |
13 | #include <linux/capability.h> | 13 | #include <linux/capability.h> |
14 | #include <asm/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <asm/byteorder.h> | 15 | #include <asm/byteorder.h> |
16 | #include "pci.h" | 16 | #include "pci.h" |
17 | 17 | ||
diff --git a/drivers/pci/syscall.c b/drivers/pci/syscall.c index b91c4da68365..9bf993e1f71e 100644 --- a/drivers/pci/syscall.c +++ b/drivers/pci/syscall.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <linux/syscalls.h> | 12 | #include <linux/syscalls.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include "pci.h" | 14 | #include "pci.h" |
15 | 15 | ||
16 | SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn, | 16 | SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn, |
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index c890a49587e4..aa2ee51d3547 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <linux/poll.h> | 68 | #include <linux/poll.h> |
69 | #include <linux/miscdevice.h> | 69 | #include <linux/miscdevice.h> |
70 | #endif | 70 | #endif |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <acpi/video.h> | 72 | #include <acpi/video.h> |
73 | 73 | ||
74 | #define dprintk(fmt, ...) \ | 74 | #define dprintk(fmt, ...) \ |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index aa65a857a6b1..cacb43fb1df7 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -82,7 +82,7 @@ | |||
82 | #include <sound/core.h> | 82 | #include <sound/core.h> |
83 | #include <sound/control.h> | 83 | #include <sound/control.h> |
84 | #include <sound/initval.h> | 84 | #include <sound/initval.h> |
85 | #include <asm/uaccess.h> | 85 | #include <linux/uaccess.h> |
86 | #include <acpi/video.h> | 86 | #include <acpi/video.h> |
87 | 87 | ||
88 | /* ThinkPad CMOS commands */ | 88 | /* ThinkPad CMOS commands */ |
diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c index 4b6808ff0e5d..5c5b3d47b5f6 100644 --- a/drivers/pnp/interface.c +++ b/drivers/pnp/interface.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include "base.h" | 22 | #include "base.h" |
23 | 23 | ||
diff --git a/drivers/pnp/pnpbios/proc.c b/drivers/pnp/pnpbios/proc.c index c212db0fc65d..5ee6b2a5f8d5 100644 --- a/drivers/pnp/pnpbios/proc.c +++ b/drivers/pnp/pnpbios/proc.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/init.h> | 27 | #include <linux/init.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include "pnpbios.h" | 31 | #include "pnpbios.h" |
32 | 32 | ||
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index 84ca314c87e3..dd46e96a3034 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | 21 | ||
22 | #include <asm/debug.h> | 22 | #include <asm/debug.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/ipl.h> | 24 | #include <asm/ipl.h> |
25 | 25 | ||
26 | /* This is ugly... */ | 26 | /* This is ugly... */ |
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 67bf50c9946f..ade04216c970 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <asm/idals.h> | 26 | #include <asm/idals.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/cio.h> | 30 | #include <asm/cio.h> |
31 | #include <asm/ccwdev.h> | 31 | #include <asm/ccwdev.h> |
32 | #include <asm/itcw.h> | 32 | #include <asm/itcw.h> |
diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c index 6c5d671304b4..8713fefd794b 100644 --- a/drivers/s390/block/dasd_eer.c +++ b/drivers/s390/block/dasd_eer.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/atomic.h> | 24 | #include <linux/atomic.h> |
25 | #include <asm/ebcdic.h> | 25 | #include <asm/ebcdic.h> |
26 | 26 | ||
diff --git a/drivers/s390/block/dasd_erp.c b/drivers/s390/block/dasd_erp.c index 113c1c1fa1af..9e3419124264 100644 --- a/drivers/s390/block/dasd_erp.c +++ b/drivers/s390/block/dasd_erp.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/debug.h> | 16 | #include <asm/debug.h> |
17 | #include <asm/ebcdic.h> | 17 | #include <asm/ebcdic.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | /* This is ugly... */ | 20 | /* This is ugly... */ |
21 | #define PRINTK_HEADER "dasd_erp:" | 21 | #define PRINTK_HEADER "dasd_erp:" |
diff --git a/drivers/s390/block/dasd_genhd.c b/drivers/s390/block/dasd_genhd.c index e2fa759bf2ad..8b1341fb2e0d 100644 --- a/drivers/s390/block/dasd_genhd.c +++ b/drivers/s390/block/dasd_genhd.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/blkpg.h> | 17 | #include <linux/blkpg.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | /* This is ugly... */ | 21 | /* This is ugly... */ |
22 | #define PRINTK_HEADER "dasd_gendisk:" | 22 | #define PRINTK_HEADER "dasd_gendisk:" |
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c index 9dfbd972f844..ec65c1e51c2a 100644 --- a/drivers/s390/block/dasd_ioctl.c +++ b/drivers/s390/block/dasd_ioctl.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/ccwdev.h> | 21 | #include <asm/ccwdev.h> |
22 | #include <asm/schid.h> | 22 | #include <asm/schid.h> |
23 | #include <asm/cmb.h> | 23 | #include <asm/cmb.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | /* This is ugly... */ | 26 | /* This is ugly... */ |
27 | #define PRINTK_HEADER "dasd_ioctl:" | 27 | #define PRINTK_HEADER "dasd_ioctl:" |
diff --git a/drivers/s390/block/dasd_proc.c b/drivers/s390/block/dasd_proc.c index bad7a196bf84..70dc2c4cd3f7 100644 --- a/drivers/s390/block/dasd_proc.c +++ b/drivers/s390/block/dasd_proc.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/proc_fs.h> | 20 | #include <linux/proc_fs.h> |
21 | 21 | ||
22 | #include <asm/debug.h> | 22 | #include <asm/debug.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | /* This is ugly... */ | 25 | /* This is ugly... */ |
26 | #define PRINTK_HEADER "dasd_proc:" | 26 | #define PRINTK_HEADER "dasd_proc:" |
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c index 288f59a4147b..b9d7e755c8a3 100644 --- a/drivers/s390/block/xpram.c +++ b/drivers/s390/block/xpram.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/suspend.h> | 41 | #include <linux/suspend.h> |
42 | #include <linux/platform_device.h> | 42 | #include <linux/platform_device.h> |
43 | #include <linux/gfp.h> | 43 | #include <linux/gfp.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | 45 | ||
46 | #define XPRAM_NAME "xpram" | 46 | #define XPRAM_NAME "xpram" |
47 | #define XPRAM_DEVS 1 /* one partition */ | 47 | #define XPRAM_DEVS 1 /* one partition */ |
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 1b8d825623bd..9ec4ae056158 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <asm/cio.h> | 25 | #include <asm/cio.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/delay.h> | 29 | #include <asm/delay.h> |
30 | #include <asm/cpcmd.h> | 30 | #include <asm/cpcmd.h> |
31 | #include <asm/setup.h> | 31 | #include <asm/setup.h> |
diff --git a/drivers/s390/char/keyboard.c b/drivers/s390/char/keyboard.c index 7b9c50aa4cc9..82c913318b73 100644 --- a/drivers/s390/char/keyboard.c +++ b/drivers/s390/char/keyboard.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/consolemap.h> | 14 | #include <linux/consolemap.h> |
15 | #include <linux/kbd_kern.h> | 15 | #include <linux/kbd_kern.h> |
16 | #include <linux/kbd_diacr.h> | 16 | #include <linux/kbd_diacr.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "keyboard.h" | 19 | #include "keyboard.h" |
20 | 20 | ||
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index ebdeaa53182d..027ac6ae5eea 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/device.h> | 23 | #include <linux/device.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <net/iucv/iucv.h> | 25 | #include <net/iucv/iucv.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
28 | #include <asm/extmem.h> | 28 | #include <asm/extmem.h> |
29 | 29 | ||
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 9b5d1138b2e2..571a7e352755 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/mutex.h> | 21 | #include <linux/mutex.h> |
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/ebcdic.h> | 25 | #include <asm/ebcdic.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/appldata.h> | 27 | #include <asm/appldata.h> |
diff --git a/drivers/s390/char/sclp_rw.c b/drivers/s390/char/sclp_rw.c index 6010cd347a08..91b26df5227d 100644 --- a/drivers/s390/char/sclp_rw.c +++ b/drivers/s390/char/sclp_rw.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/string.h> | 13 | #include <linux/string.h> |
14 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <linux/ctype.h> | 15 | #include <linux/ctype.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "sclp.h" | 18 | #include "sclp.h" |
19 | #include "sclp_rw.h" | 19 | #include "sclp_rw.h" |
diff --git a/drivers/s390/char/sclp_tty.c b/drivers/s390/char/sclp_tty.c index 9259017a1295..236b736ae136 100644 --- a/drivers/s390/char/sclp_tty.c +++ b/drivers/s390/char/sclp_tty.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> |
17 | #include <linux/gfp.h> | 17 | #include <linux/gfp.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | 19 | ||
20 | #include "ctrlchar.h" | 20 | #include "ctrlchar.h" |
21 | #include "sclp.h" | 21 | #include "sclp.h" |
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c index 68d6ee7ae504..095481d32236 100644 --- a/drivers/s390/char/sclp_vt220.c +++ b/drivers/s390/char/sclp_vt220.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/reboot.h> | 26 | #include <linux/reboot.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include "sclp.h" | 30 | #include "sclp.h" |
31 | #include "ctrlchar.h" | 31 | #include "ctrlchar.h" |
32 | 32 | ||
diff --git a/drivers/s390/char/tape_char.c b/drivers/s390/char/tape_char.c index 77f9b9c2f701..46ac1164f242 100644 --- a/drivers/s390/char/tape_char.c +++ b/drivers/s390/char/tape_char.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/mtio.h> | 18 | #include <linux/mtio.h> |
19 | #include <linux/compat.h> | 19 | #include <linux/compat.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #define TAPE_DBF_AREA tape_core_dbf | 23 | #define TAPE_DBF_AREA tape_core_dbf |
24 | 24 | ||
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 272cb6cd1b2a..e5ebe2fbee23 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/ccwdev.h> | 24 | #include <asm/ccwdev.h> |
25 | #include <asm/cio.h> | 25 | #include <asm/cio.h> |
26 | #include <asm/ebcdic.h> | 26 | #include <asm/ebcdic.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "raw3270.h" | 29 | #include "raw3270.h" |
30 | #include "tty3270.h" | 30 | #include "tty3270.h" |
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 2a67b496a9e2..65f5a794f26d 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/compat.h> | 21 | #include <asm/compat.h> |
22 | #include <asm/cpcmd.h> | 22 | #include <asm/cpcmd.h> |
23 | #include <asm/debug.h> | 23 | #include <asm/debug.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include "vmcp.h" | 25 | #include "vmcp.h" |
26 | 26 | ||
27 | static debug_info_t *vmcp_debug; | 27 | static debug_info_t *vmcp_debug; |
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 3167e8581994..57974a1e0e03 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/spinlock.h> | 22 | #include <linux/spinlock.h> |
23 | #include <linux/atomic.h> | 23 | #include <linux/atomic.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/cpcmd.h> | 25 | #include <asm/cpcmd.h> |
26 | #include <asm/debug.h> | 26 | #include <asm/debug.h> |
27 | #include <asm/ebcdic.h> | 27 | #include <asm/ebcdic.h> |
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index ff18f373af9a..04aceb694d51 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/cio.h> | 19 | #include <asm/cio.h> |
20 | #include <asm/ccwdev.h> | 20 | #include <asm/ccwdev.h> |
21 | #include <asm/debug.h> | 21 | #include <asm/debug.h> |
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index f771e5e9e26b..d3b51edb056e 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <asm/ipl.h> | 23 | #include <asm/ipl.h> |
24 | #include <asm/sclp.h> | 24 | #include <asm/sclp.h> |
25 | #include <asm/setup.h> | 25 | #include <asm/setup.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/debug.h> | 27 | #include <asm/debug.h> |
28 | #include <asm/processor.h> | 28 | #include <asm/processor.h> |
29 | #include <asm/irqflags.h> | 29 | #include <asm/irqflags.h> |
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 9082476b51db..bf7f5d4c50e1 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
18 | #include <linux/device.h> | 18 | #include <linux/device.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/cio.h> | 21 | #include <asm/cio.h> |
22 | #include <asm/ipl.h> | 22 | #include <asm/ipl.h> |
23 | 23 | ||
diff --git a/drivers/s390/crypto/zcrypt_api.c b/drivers/s390/crypto/zcrypt_api.c index 854a6e58dfea..51eece9af577 100644 --- a/drivers/s390/crypto/zcrypt_api.c +++ b/drivers/s390/crypto/zcrypt_api.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/compat.h> | 36 | #include <linux/compat.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/atomic.h> | 38 | #include <linux/atomic.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <linux/hw_random.h> | 40 | #include <linux/hw_random.h> |
41 | #include <linux/debugfs.h> | 41 | #include <linux/debugfs.h> |
42 | #include <asm/debug.h> | 42 | #include <asm/debug.h> |
diff --git a/drivers/s390/crypto/zcrypt_cex2a.c b/drivers/s390/crypto/zcrypt_cex2a.c index c7d48a18199e..b97c5d5ee5a4 100644 --- a/drivers/s390/crypto/zcrypt_cex2a.c +++ b/drivers/s390/crypto/zcrypt_cex2a.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/err.h> | 31 | #include <linux/err.h> |
32 | #include <linux/atomic.h> | 32 | #include <linux/atomic.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <linux/mod_devicetable.h> | 34 | #include <linux/mod_devicetable.h> |
35 | 35 | ||
36 | #include "ap_bus.h" | 36 | #include "ap_bus.h" |
diff --git a/drivers/s390/crypto/zcrypt_pcixcc.c b/drivers/s390/crypto/zcrypt_pcixcc.c index 26ceaa696765..600604782b65 100644 --- a/drivers/s390/crypto/zcrypt_pcixcc.c +++ b/drivers/s390/crypto/zcrypt_pcixcc.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/atomic.h> | 33 | #include <linux/atomic.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/mod_devicetable.h> | 35 | #include <linux/mod_devicetable.h> |
36 | 36 | ||
37 | #include "ap_bus.h" | 37 | #include "ap_bus.h" |
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index 2981024a2438..3f85b97ab8d2 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <net/dst.h> | 62 | #include <net/dst.h> |
63 | 63 | ||
64 | #include <asm/io.h> | 64 | #include <asm/io.h> |
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | #include <asm/ebcdic.h> | 66 | #include <asm/ebcdic.h> |
67 | 67 | ||
68 | #include <net/iucv/iucv.h> | 68 | #include <net/iucv/iucv.h> |
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 33fbe8249fd5..04efed171c88 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/of.h> | 17 | #include <linux/of.h> |
18 | #include <linux/of_device.h> | 18 | #include <linux/of_device.h> |
19 | #include <linux/atomic.h> | 19 | #include <linux/atomic.h> |
20 | #include <asm/uaccess.h> /* put_/get_user */ | 20 | #include <linux/uaccess.h> /* put_/get_user */ |
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | 22 | ||
23 | #include <asm/display7seg.h> | 23 | #include <asm/display7seg.h> |
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 5609b602c54d..56e962a01493 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/of.h> | 29 | #include <linux/of.h> |
30 | #include <linux/of_device.h> | 30 | #include <linux/of_device.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/envctrl.h> | 33 | #include <asm/envctrl.h> |
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | 35 | ||
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 206ef4232adf..216f923161d1 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/of.h> | 15 | #include <linux/of.h> |
16 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/pgtable.h> | 19 | #include <asm/pgtable.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
21 | #include <asm/upa.h> | 21 | #include <asm/upa.h> |
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index a40ee1e37486..6ff61dad5e21 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
38 | #include <linux/genhd.h> | 38 | #include <linux/genhd.h> |
39 | #include <linux/blkdev.h> | 39 | #include <linux/blkdev.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/pgtable.h> | 41 | #include <asm/pgtable.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <asm/pcic.h> | 43 | #include <asm/pcic.h> |
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 4612691c6619..2c2e6a3b4c7e 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/fs.h> | 40 | #include <linux/fs.h> |
41 | #include <asm/oplib.h> | 41 | #include <asm/oplib.h> |
42 | #include <asm/prom.h> | 42 | #include <asm/prom.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/openpromio.h> | 44 | #include <asm/openpromio.h> |
45 | #ifdef CONFIG_PCI | 45 | #ifdef CONFIG_PCI |
46 | #include <linux/pci.h> | 46 | #include <linux/pci.h> |
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index 316f87fe3299..00e7968a1d70 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -92,7 +92,7 @@ | |||
92 | #include <linux/slab.h> | 92 | #include <linux/slab.h> |
93 | #include <asm/io.h> | 93 | #include <asm/io.h> |
94 | #include <asm/irq.h> | 94 | #include <asm/irq.h> |
95 | #include <asm/uaccess.h> | 95 | #include <linux/uaccess.h> |
96 | #include <scsi/scsi.h> | 96 | #include <scsi/scsi.h> |
97 | #include <scsi/scsi_host.h> | 97 | #include <scsi/scsi_host.h> |
98 | #include <scsi/scsi_tcq.h> | 98 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index 970d8fa6bd53..b150e131b2e7 100644 --- a/drivers/scsi/3w-sas.c +++ b/drivers/scsi/3w-sas.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <linux/slab.h> | 64 | #include <linux/slab.h> |
65 | #include <asm/io.h> | 65 | #include <asm/io.h> |
66 | #include <asm/irq.h> | 66 | #include <asm/irq.h> |
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <scsi/scsi.h> | 68 | #include <scsi/scsi.h> |
69 | #include <scsi/scsi_host.h> | 69 | #include <scsi/scsi_host.h> |
70 | #include <scsi/scsi_tcq.h> | 70 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index aa412ab02765..33261b690774 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -210,7 +210,7 @@ | |||
210 | #include <linux/mutex.h> | 210 | #include <linux/mutex.h> |
211 | #include <asm/io.h> | 211 | #include <asm/io.h> |
212 | #include <asm/irq.h> | 212 | #include <asm/irq.h> |
213 | #include <asm/uaccess.h> | 213 | #include <linux/uaccess.h> |
214 | #include <scsi/scsi.h> | 214 | #include <scsi/scsi.h> |
215 | #include <scsi/scsi_host.h> | 215 | #include <scsi/scsi_host.h> |
216 | #include <scsi/scsi_tcq.h> | 216 | #include <scsi/scsi_tcq.h> |
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 6678d1fd897b..1ee7c654f7b8 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/completion.h> | 33 | #include <linux/completion.h> |
34 | #include <linux/blkdev.h> | 34 | #include <linux/blkdev.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/highmem.h> /* For flush_kernel_dcache_page */ | 36 | #include <linux/highmem.h> /* For flush_kernel_dcache_page */ |
37 | #include <linux/module.h> | 37 | #include <linux/module.h> |
38 | 38 | ||
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 5648b715fed9..e1daff230c7d 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/delay.h> /* ssleep prototype */ | 41 | #include <linux/delay.h> /* ssleep prototype */ |
42 | #include <linux/kthread.h> | 42 | #include <linux/kthread.h> |
43 | #include <linux/semaphore.h> | 43 | #include <linux/semaphore.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <scsi/scsi_host.h> | 45 | #include <scsi/scsi_host.h> |
46 | 46 | ||
47 | #include "aacraid.h" | 47 | #include "aacraid.h" |
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 9e45749d55ed..af032c46ec0e 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #include <linux/circ_buf.h> | 61 | #include <linux/circ_buf.h> |
62 | #include <asm/dma.h> | 62 | #include <asm/dma.h> |
63 | #include <asm/io.h> | 63 | #include <asm/io.h> |
64 | #include <asm/uaccess.h> | 64 | #include <linux/uaccess.h> |
65 | #include <scsi/scsi_host.h> | 65 | #include <scsi/scsi_host.h> |
66 | #include <scsi/scsi.h> | 66 | #include <scsi/scsi.h> |
67 | #include <scsi/scsi_cmnd.h> | 67 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index 9d253cb83ee7..d9e15210b110 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
28 | #include <linux/pci.h> | 28 | #include <linux/pci.h> |
29 | #include <linux/firmware.h> | 29 | #include <linux/firmware.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #include <asm/fcntl.h> | 31 | #include <asm/fcntl.h> |
32 | 32 | ||
33 | #include "bfad_drv.h" | 33 | #include "bfad_drv.h" |
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 27c0dce22e72..5f75e638ec95 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -37,7 +37,7 @@ MODULE_DESCRIPTION("Adaptec I2O RAID Driver"); | |||
37 | //////////////////////////////////////////////////////////////// | 37 | //////////////////////////////////////////////////////////////// |
38 | 38 | ||
39 | #include <linux/ioctl.h> /* For SCSI-Passthrough */ | 39 | #include <linux/ioctl.h> /* For SCSI-Passthrough */ |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include <linux/stat.h> | 42 | #include <linux/stat.h> |
43 | #include <linux/slab.h> /* for kmalloc() */ | 43 | #include <linux/slab.h> /* for kmalloc() */ |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 0a767740bf02..d020a13646ae 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -130,7 +130,7 @@ | |||
130 | 130 | ||
131 | #include <asm/dma.h> | 131 | #include <asm/dma.h> |
132 | #include <asm/io.h> | 132 | #include <asm/io.h> |
133 | #include <asm/uaccess.h> | 133 | #include <linux/uaccess.h> |
134 | #include <linux/spinlock.h> | 134 | #include <linux/spinlock.h> |
135 | #include <linux/blkdev.h> | 135 | #include <linux/blkdev.h> |
136 | #include <linux/scatterlist.h> | 136 | #include <linux/scatterlist.h> |
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c index a83f705ed8a5..db17ad15b0c1 100644 --- a/drivers/scsi/hptiop.c +++ b/drivers/scsi/hptiop.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/timer.h> | 26 | #include <linux/timer.h> |
27 | #include <linux/spinlock.h> | 27 | #include <linux/spinlock.h> |
28 | #include <linux/gfp.h> | 28 | #include <linux/gfp.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
32 | #include <scsi/scsi_cmnd.h> | 32 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h index 45b9566b928e..b782bb60baf0 100644 --- a/drivers/scsi/ips.h +++ b/drivers/scsi/ips.h | |||
@@ -51,7 +51,7 @@ | |||
51 | #define _IPS_H_ | 51 | #define _IPS_H_ |
52 | 52 | ||
53 | #include <linux/nmi.h> | 53 | #include <linux/nmi.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <asm/io.h> | 55 | #include <asm/io.h> |
56 | 56 | ||
57 | /* | 57 | /* |
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 9d05302a3bcd..3c63c292cb92 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/fs.h> | 35 | #include <linux/fs.h> |
36 | #include <linux/blkdev.h> | 36 | #include <linux/blkdev.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <linux/completion.h> | 39 | #include <linux/completion.h> |
40 | #include <linux/delay.h> | 40 | #include <linux/delay.h> |
diff --git a/drivers/scsi/megaraid/megaraid_mm.h b/drivers/scsi/megaraid/megaraid_mm.h index 55b425c0a654..a30e725f2d5c 100644 --- a/drivers/scsi/megaraid/megaraid_mm.h +++ b/drivers/scsi/megaraid/megaraid_mm.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/moduleparam.h> | 22 | #include <linux/moduleparam.h> |
23 | #include <linux/pci.h> | 23 | #include <linux/pci.h> |
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 6484c382f670..d5cf15eb8c5e 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
43 | #include <linux/uio.h> | 43 | #include <linux/uio.h> |
44 | #include <linux/slab.h> | 44 | #include <linux/slab.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/fs.h> | 46 | #include <linux/fs.h> |
47 | #include <linux/compat.h> | 47 | #include <linux/compat.h> |
48 | #include <linux/blkdev.h> | 48 | #include <linux/blkdev.h> |
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index a2960f5d98ec..e8196c55b633 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -52,7 +52,7 @@ static const char * osst_version = "0.99.4"; | |||
52 | #include <linux/delay.h> | 52 | #include <linux/delay.h> |
53 | #include <linux/jiffies.h> | 53 | #include <linux/jiffies.h> |
54 | #include <linux/mutex.h> | 54 | #include <linux/mutex.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <asm/dma.h> | 56 | #include <asm/dma.h> |
57 | 57 | ||
58 | /* The driver prints some debugging information on the console if DEBUG | 58 | /* The driver prints some debugging information on the console if DEBUG |
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index 9f6012b78e56..b4336e0cd85f 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | #include <linux/vmalloc.h> | 11 | #include <linux/vmalloc.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * NVRAM support routines | 15 | * NVRAM support routines |
diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c index c4f7b56fa6f6..8b8c814df5c7 100644 --- a/drivers/scsi/scsi_ioctl.c +++ b/drivers/scsi/scsi_ioctl.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <linux/string.h> | 14 | #include <linux/string.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #include <scsi/scsi.h> | 17 | #include <scsi/scsi.h> |
18 | #include <scsi/scsi_cmnd.h> | 18 | #include <scsi/scsi_cmnd.h> |
diff --git a/drivers/scsi/scsi_proc.c b/drivers/scsi/scsi_proc.c index 7a74b82e8973..480a597b3877 100644 --- a/drivers/scsi/scsi_proc.c +++ b/drivers/scsi/scsi_proc.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/gfp.h> | 28 | #include <linux/gfp.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include <scsi/scsi.h> | 31 | #include <scsi/scsi.h> |
32 | #include <scsi/scsi_device.h> | 32 | #include <scsi/scsi_device.h> |
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 1622e23138e0..b1933041da39 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #include <linux/pm_runtime.h> | 53 | #include <linux/pm_runtime.h> |
54 | #include <linux/pr.h> | 54 | #include <linux/pr.h> |
55 | #include <linux/t10-pi.h> | 55 | #include <linux/t10-pi.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/unaligned.h> | 57 | #include <asm/unaligned.h> |
58 | 58 | ||
59 | #include <scsi/scsi.h> | 59 | #include <scsi/scsi.h> |
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index bed2bbd6b923..94352e4df831 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/mutex.h> | 46 | #include <linux/mutex.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
48 | #include <linux/pm_runtime.h> | 48 | #include <linux/pm_runtime.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | 50 | ||
51 | #include <scsi/scsi.h> | 51 | #include <scsi/scsi.h> |
52 | #include <scsi/scsi_dbg.h> | 52 | #include <scsi/scsi_dbg.h> |
diff --git a/drivers/scsi/sr_ioctl.c b/drivers/scsi/sr_ioctl.c index 03054c0e7689..dfffdf63e44c 100644 --- a/drivers/scsi/sr_ioctl.c +++ b/drivers/scsi/sr_ioctl.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <asm/io.h> | 12 | #include <asm/io.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | #include <scsi/scsi.h> | 15 | #include <scsi/scsi.h> |
16 | #include <scsi/scsi_dbg.h> | 16 | #include <scsi/scsi_dbg.h> |
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 605887d5ee57..5f35b863e1a7 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -41,7 +41,7 @@ static const char *verstr = "20160209"; | |||
41 | #include <linux/delay.h> | 41 | #include <linux/delay.h> |
42 | #include <linux/mutex.h> | 42 | #include <linux/mutex.h> |
43 | 43 | ||
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/dma.h> | 45 | #include <asm/dma.h> |
46 | 46 | ||
47 | #include <scsi/scsi.h> | 47 | #include <scsi/scsi.h> |
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index dfbb974927f2..dea16bb8c46a 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c | |||
@@ -127,7 +127,7 @@ static struct serial_state rs_table[1]; | |||
127 | 127 | ||
128 | #define NR_PORTS ARRAY_SIZE(rs_table) | 128 | #define NR_PORTS ARRAY_SIZE(rs_table) |
129 | 129 | ||
130 | #include <asm/uaccess.h> | 130 | #include <linux/uaccess.h> |
131 | 131 | ||
132 | #define serial_isroot() (capable(CAP_SYS_ADMIN)) | 132 | #define serial_isroot() (capable(CAP_SYS_ADMIN)) |
133 | 133 | ||
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index ce864875330e..9b5c0fb216b5 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
43 | #include <linux/serial_core.h> | 43 | #include <linux/serial_core.h> |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include "hvc_console.h" | 47 | #include "hvc_console.h" |
48 | 48 | ||
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index 3c4d7c2b4ade..7823d6d998cf 100644 --- a/drivers/tty/hvc/hvcs.c +++ b/drivers/tty/hvc/hvcs.c | |||
@@ -81,7 +81,7 @@ | |||
81 | #include <linux/tty_flip.h> | 81 | #include <linux/tty_flip.h> |
82 | #include <asm/hvconsole.h> | 82 | #include <asm/hvconsole.h> |
83 | #include <asm/hvcserver.h> | 83 | #include <asm/hvcserver.h> |
84 | #include <asm/uaccess.h> | 84 | #include <linux/uaccess.h> |
85 | #include <asm/vio.h> | 85 | #include <asm/vio.h> |
86 | 86 | ||
87 | /* | 87 | /* |
diff --git a/drivers/tty/hvc/hvsi.c b/drivers/tty/hvc/hvsi.c index 96ce6bd1cc6f..2e578d6433af 100644 --- a/drivers/tty/hvc/hvsi.c +++ b/drivers/tty/hvc/hvsi.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/hvcall.h> | 46 | #include <asm/hvcall.h> |
47 | #include <asm/hvconsole.h> | 47 | #include <asm/hvconsole.h> |
48 | #include <asm/prom.h> | 48 | #include <asm/prom.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <asm/vio.h> | 50 | #include <asm/vio.h> |
51 | #include <asm/param.h> | 51 | #include <asm/param.h> |
52 | #include <asm/hvsi.h> | 52 | #include <asm/hvsi.h> |
diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c index 60d37b225589..4caf0c3b1f99 100644 --- a/drivers/tty/moxa.c +++ b/drivers/tty/moxa.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include <linux/ratelimit.h> | 47 | #include <linux/ratelimit.h> |
48 | 48 | ||
49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #include "moxa.h" | 52 | #include "moxa.h" |
53 | 53 | ||
diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index 69294ae154be..7b8f383fb090 100644 --- a/drivers/tty/mxser.c +++ b/drivers/tty/mxser.c | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | #include <asm/irq.h> | 45 | #include <asm/irq.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | #include "mxser.h" | 48 | #include "mxser.h" |
49 | 49 | ||
diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c index a7fa016f31eb..eb278832f5ce 100644 --- a/drivers/tty/n_hdlc.c +++ b/drivers/tty/n_hdlc.c | |||
@@ -103,7 +103,7 @@ | |||
103 | #include <linux/bitops.h> | 103 | #include <linux/bitops.h> |
104 | 104 | ||
105 | #include <asm/termios.h> | 105 | #include <asm/termios.h> |
106 | #include <asm/uaccess.h> | 106 | #include <linux/uaccess.h> |
107 | 107 | ||
108 | /* | 108 | /* |
109 | * Buffers for individual HDLC frames | 109 | * Buffers for individual HDLC frames |
diff --git a/drivers/tty/n_r3964.c b/drivers/tty/n_r3964.c index 345111467b85..305b6490d405 100644 --- a/drivers/tty/n_r3964.c +++ b/drivers/tty/n_r3964.c | |||
@@ -65,7 +65,7 @@ | |||
65 | #include <linux/n_r3964.h> | 65 | #include <linux/n_r3964.h> |
66 | #include <linux/poll.h> | 66 | #include <linux/poll.h> |
67 | #include <linux/init.h> | 67 | #include <linux/init.h> |
68 | #include <asm/uaccess.h> | 68 | #include <linux/uaccess.h> |
69 | 69 | ||
70 | /*#define DEBUG_QUEUE*/ | 70 | /*#define DEBUG_QUEUE*/ |
71 | 71 | ||
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index c60a8d5e4020..d83783cfbade 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/irq.h> | 55 | #include <asm/irq.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | 57 | ||
58 | #include "icom.h" | 58 | #include "icom.h" |
59 | 59 | ||
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index d0847375ea64..9939c3d9912b 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/mutex.h> | 36 | #include <linux/mutex.h> |
37 | 37 | ||
38 | #include <asm/irq.h> | 38 | #include <asm/irq.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | 40 | ||
41 | /* | 41 | /* |
42 | * This is used to lock changes in serial line configuration. | 42 | * This is used to lock changes in serial line configuration. |
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c index 415885c56435..657eed82eeb3 100644 --- a/drivers/tty/synclink.c +++ b/drivers/tty/synclink.c | |||
@@ -107,7 +107,7 @@ | |||
107 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 107 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
108 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 108 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
109 | 109 | ||
110 | #include <asm/uaccess.h> | 110 | #include <linux/uaccess.h> |
111 | 111 | ||
112 | #define RCLRVALUE 0xffff | 112 | #define RCLRVALUE 0xffff |
113 | 113 | ||
diff --git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index 8267bcf2405e..31885f20fc15 100644 --- a/drivers/tty/synclink_gt.c +++ b/drivers/tty/synclink_gt.c | |||
@@ -77,7 +77,7 @@ | |||
77 | #include <asm/irq.h> | 77 | #include <asm/irq.h> |
78 | #include <asm/dma.h> | 78 | #include <asm/dma.h> |
79 | #include <asm/types.h> | 79 | #include <asm/types.h> |
80 | #include <asm/uaccess.h> | 80 | #include <linux/uaccess.h> |
81 | 81 | ||
82 | #if defined(CONFIG_HDLC) || (defined(CONFIG_HDLC_MODULE) && defined(CONFIG_SYNCLINK_GT_MODULE)) | 82 | #if defined(CONFIG_HDLC) || (defined(CONFIG_HDLC_MODULE) && defined(CONFIG_SYNCLINK_GT_MODULE)) |
83 | #define SYNCLINK_GENERIC_HDLC 1 | 83 | #define SYNCLINK_GENERIC_HDLC 1 |
diff --git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index d66620f7eaa3..51e8846cd68f 100644 --- a/drivers/tty/synclinkmp.c +++ b/drivers/tty/synclinkmp.c | |||
@@ -79,7 +79,7 @@ | |||
79 | #define PUT_USER(error,value,addr) error = put_user(value,addr) | 79 | #define PUT_USER(error,value,addr) error = put_user(value,addr) |
80 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 | 80 | #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 |
81 | 81 | ||
82 | #include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | 83 | ||
84 | static MGSL_PARAMS default_params = { | 84 | static MGSL_PARAMS default_params = { |
85 | MGSL_MODE_HDLC, /* unsigned long mode */ | 85 | MGSL_MODE_HDLC, /* unsigned long mode */ |
diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.c index bf36ac9aee41..f27fc0f14c11 100644 --- a/drivers/tty/tty_ioctl.c +++ b/drivers/tty/tty_ioctl.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/compat.h> | 22 | #include <linux/compat.h> |
23 | 23 | ||
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | #undef TTY_DEBUG_WAIT_UNTIL_SENT | 27 | #undef TTY_DEBUG_WAIT_UNTIL_SENT |
28 | 28 | ||
diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt/consolemap.c index 71e81406ef71..1f6e17fc3fb0 100644 --- a/drivers/tty/vt/consolemap.c +++ b/drivers/tty/vt/consolemap.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <linux/tty.h> | 31 | #include <linux/tty.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/console.h> | 33 | #include <linux/console.h> |
34 | #include <linux/consolemap.h> | 34 | #include <linux/consolemap.h> |
35 | #include <linux/vt_kern.h> | 35 | #include <linux/vt_kern.h> |
diff --git a/drivers/tty/vt/selection.c b/drivers/tty/vt/selection.c index 368ce1803e8f..36e1b8c7680f 100644 --- a/drivers/tty/vt/selection.c +++ b/drivers/tty/vt/selection.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include <linux/kbd_kern.h> | 21 | #include <linux/kbd_kern.h> |
22 | #include <linux/vt_kern.h> | 22 | #include <linux/vt_kern.h> |
diff --git a/drivers/tty/vt/vc_screen.c b/drivers/tty/vt/vc_screen.c index 14a2b5f11bca..56dcff6059d3 100644 --- a/drivers/tty/vt/vc_screen.c +++ b/drivers/tty/vt/vc_screen.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/slab.h> | 39 | #include <linux/slab.h> |
40 | #include <linux/notifier.h> | 40 | #include <linux/notifier.h> |
41 | 41 | ||
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <asm/byteorder.h> | 43 | #include <asm/byteorder.h> |
44 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
45 | 45 | ||
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index f62c598810ff..a56edf2d58eb 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/timex.h> | 29 | #include <linux/timex.h> |
30 | 30 | ||
31 | #include <asm/io.h> | 31 | #include <asm/io.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <linux/kbd_kern.h> | 34 | #include <linux/kbd_kern.h> |
35 | #include <linux/vt_kern.h> | 35 | #include <linux/vt_kern.h> |
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index 4dec9df8764b..5a59da0dc98a 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | #include "usbatm.h" | 65 | #include "usbatm.h" |
66 | 66 | ||
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | #include <linux/crc32.h> | 68 | #include <linux/crc32.h> |
69 | #include <linux/errno.h> | 69 | #include <linux/errno.h> |
70 | #include <linux/init.h> | 70 | #include <linux/init.h> |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 143454ea385b..1fa5c0f29c64 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/random.h> | 29 | #include <linux/random.h> |
30 | #include <linux/pm_qos.h> | 30 | #include <linux/pm_qos.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <asm/byteorder.h> | 33 | #include <asm/byteorder.h> |
34 | 34 | ||
35 | #include "hub.h" | 35 | #include "hub.h" |
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c index 10b2576f8b6a..e8f4102d19df 100644 --- a/drivers/usb/gadget/legacy/inode.c +++ b/drivers/usb/gadget/legacy/inode.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/uts.h> | 20 | #include <linux/uts.h> |
21 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
22 | #include <linux/compiler.h> | 22 | #include <linux/compiler.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/sched.h> | 24 | #include <linux/sched.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/poll.h> | 26 | #include <linux/poll.h> |
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 5d3d914ab4fb..683098afa93e 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/bitops.h> | 42 | #include <linux/bitops.h> |
43 | #include <linux/dmi.h> | 43 | #include <linux/dmi.h> |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/io.h> | 46 | #include <asm/io.h> |
47 | #include <asm/irq.h> | 47 | #include <asm/irq.h> |
48 | 48 | ||
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 9a82f8308ad7..01a9373b7e18 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/module.h> | 48 | #include <linux/module.h> |
49 | #include <linux/kref.h> | 49 | #include <linux/kref.h> |
50 | #include <linux/mutex.h> | 50 | #include <linux/mutex.h> |
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | #include <linux/usb.h> | 52 | #include <linux/usb.h> |
53 | #include <linux/workqueue.h> | 53 | #include <linux/workqueue.h> |
54 | #include <linux/platform_device.h> | 54 | #include <linux/platform_device.h> |
diff --git a/drivers/usb/misc/idmouse.c b/drivers/usb/misc/idmouse.c index 2975e80b7a56..debc1fd74b0d 100644 --- a/drivers/usb/misc/idmouse.c +++ b/drivers/usb/misc/idmouse.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/completion.h> | 24 | #include <linux/completion.h> |
25 | #include <linux/mutex.h> | 25 | #include <linux/mutex.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/usb.h> | 27 | #include <linux/usb.h> |
28 | 28 | ||
29 | /* image constants */ | 29 | /* image constants */ |
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 9ca595632f17..3bc5356832db 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/module.h> | 28 | #include <linux/module.h> |
29 | #include <linux/mutex.h> | 29 | #include <linux/mutex.h> |
30 | 30 | ||
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/input.h> | 32 | #include <linux/input.h> |
33 | #include <linux/usb.h> | 33 | #include <linux/usb.h> |
34 | #include <linux/poll.h> | 34 | #include <linux/poll.h> |
diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c index c8fbe7b739a0..b10e26c74a90 100644 --- a/drivers/usb/misc/legousbtower.c +++ b/drivers/usb/misc/legousbtower.c | |||
@@ -83,7 +83,7 @@ | |||
83 | #include <linux/module.h> | 83 | #include <linux/module.h> |
84 | #include <linux/completion.h> | 84 | #include <linux/completion.h> |
85 | #include <linux/mutex.h> | 85 | #include <linux/mutex.h> |
86 | #include <asm/uaccess.h> | 86 | #include <linux/uaccess.h> |
87 | #include <linux/usb.h> | 87 | #include <linux/usb.h> |
88 | #include <linux/poll.h> | 88 | #include <linux/poll.h> |
89 | 89 | ||
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index 1a874a1f3890..91c22276c03b 100644 --- a/drivers/usb/mon/mon_bin.c +++ b/drivers/usb/mon/mon_bin.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/time64.h> | 21 | #include <linux/time64.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #include "usb_mon.h" | 25 | #include "usb_mon.h" |
26 | 26 | ||
diff --git a/drivers/usb/mon/mon_stat.c b/drivers/usb/mon/mon_stat.c index 5388a339cfb8..5bdf73a57498 100644 --- a/drivers/usb/mon/mon_stat.c +++ b/drivers/usb/mon/mon_stat.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/export.h> | 12 | #include <linux/export.h> |
13 | #include <linux/usb.h> | 13 | #include <linux/usb.h> |
14 | #include <linux/fs.h> | 14 | #include <linux/fs.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #include "usb_mon.h" | 17 | #include "usb_mon.h" |
18 | 18 | ||
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index e59334b09c41..db1a4abf2806 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/mutex.h> | 14 | #include <linux/mutex.h> |
15 | #include <linux/debugfs.h> | 15 | #include <linux/debugfs.h> |
16 | #include <linux/scatterlist.h> | 16 | #include <linux/scatterlist.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "usb_mon.h" | 19 | #include "usb_mon.h" |
20 | 20 | ||
diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index 9b22d946c089..4fef50e5c8c1 100644 --- a/drivers/usb/musb/musb_debugfs.c +++ b/drivers/usb/musb/musb_debugfs.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/debugfs.h> | 37 | #include <linux/debugfs.h> |
38 | #include <linux/seq_file.h> | 38 | #include <linux/seq_file.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include "musb_core.h" | 42 | #include "musb_core.h" |
43 | #include "musb_debug.h" | 43 | #include "musb_debug.h" |
diff --git a/drivers/video/console/newport_con.c b/drivers/video/console/newport_con.c index 1e11614322fe..42d02a206059 100644 --- a/drivers/video/console/newport_con.c +++ b/drivers/video/console/newport_con.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | 22 | ||
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/page.h> | 25 | #include <asm/page.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/gio_device.h> | 27 | #include <asm/gio_device.h> |
diff --git a/drivers/video/fbdev/68328fb.c b/drivers/video/fbdev/68328fb.c index 17f21cedff9b..c0c6b88d3839 100644 --- a/drivers/video/fbdev/68328fb.c +++ b/drivers/video/fbdev/68328fb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | #include <linux/delay.h> | 36 | #include <linux/delay.h> |
37 | #include <linux/interrupt.h> | 37 | #include <linux/interrupt.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <linux/fb.h> | 39 | #include <linux/fb.h> |
40 | #include <linux/init.h> | 40 | #include <linux/init.h> |
41 | 41 | ||
diff --git a/drivers/video/fbdev/hitfb.c b/drivers/video/fbdev/hitfb.c index 9d68dc9ee7bf..abe3e54d4506 100644 --- a/drivers/video/fbdev/hitfb.c +++ b/drivers/video/fbdev/hitfb.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/fb.h> | 22 | #include <linux/fb.h> |
23 | 23 | ||
24 | #include <asm/machvec.h> | 24 | #include <asm/machvec.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <asm/hd64461.h> | 28 | #include <asm/hd64461.h> |
diff --git a/drivers/video/fbdev/hpfb.c b/drivers/video/fbdev/hpfb.c index 9476d196f510..16f16f5e1a4b 100644 --- a/drivers/video/fbdev/hpfb.c +++ b/drivers/video/fbdev/hpfb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/dio.h> | 16 | #include <linux/dio.h> |
17 | 17 | ||
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | static struct fb_info fb_info = { | 21 | static struct fb_info fb_info = { |
22 | .fix = { | 22 | .fix = { |
diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c index 8778e01cebac..1c3c7ab26a95 100644 --- a/drivers/video/fbdev/mx3fb.c +++ b/drivers/video/fbdev/mx3fb.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/platform_data/video-mx3fb.h> | 33 | #include <linux/platform_data/video-mx3fb.h> |
34 | 34 | ||
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | #define MX3FB_NAME "mx3_sdc_fb" | 38 | #define MX3FB_NAME "mx3_sdc_fb" |
39 | 39 | ||
diff --git a/drivers/video/fbdev/q40fb.c b/drivers/video/fbdev/q40fb.c index 7487f76f6275..04ea330ccf5d 100644 --- a/drivers/video/fbdev/q40fb.c +++ b/drivers/video/fbdev/q40fb.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/interrupt.h> | 18 | #include <linux/interrupt.h> |
19 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
23 | #include <asm/q40_master.h> | 23 | #include <asm/q40_master.h> |
24 | #include <linux/fb.h> | 24 | #include <linux/fb.h> |
diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index d0a4e2f79a57..d80bc8a3200f 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/console.h> | 31 | #include <linux/console.h> |
32 | #include <linux/io.h> | 32 | #include <linux/io.h> |
33 | 33 | ||
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <asm/div64.h> | 35 | #include <asm/div64.h> |
36 | 36 | ||
37 | #ifdef CONFIG_PM | 37 | #ifdef CONFIG_PM |
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c index 7df4228e25f0..accfef71e984 100644 --- a/drivers/video/fbdev/stifb.c +++ b/drivers/video/fbdev/stifb.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include <linux/io.h> | 67 | #include <linux/io.h> |
68 | 68 | ||
69 | #include <asm/grfioctl.h> /* for HP-UX compatibility */ | 69 | #include <asm/grfioctl.h> /* for HP-UX compatibility */ |
70 | #include <asm/uaccess.h> | 70 | #include <linux/uaccess.h> |
71 | 71 | ||
72 | #include "sticore.h" | 72 | #include "sticore.h" |
73 | 73 | ||
diff --git a/drivers/video/fbdev/w100fb.c b/drivers/video/fbdev/w100fb.c index 10951c82f6ed..d570e19a2864 100644 --- a/drivers/video/fbdev/w100fb.c +++ b/drivers/video/fbdev/w100fb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/vmalloc.h> | 35 | #include <linux/vmalloc.h> |
36 | #include <linux/module.h> | 36 | #include <linux/module.h> |
37 | #include <asm/io.h> | 37 | #include <asm/io.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <video/w100fb.h> | 39 | #include <video/w100fb.h> |
40 | #include "w100fb.h" | 40 | #include "w100fb.h" |
41 | 41 | ||
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c index 6ac2579da0eb..05397305fccd 100644 --- a/drivers/zorro/proc.c +++ b/drivers/zorro/proc.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/export.h> | 16 | #include <linux/export.h> |
17 | 17 | ||
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/amigahw.h> | 20 | #include <asm/amigahw.h> |
21 | #include <asm/setup.h> | 21 | #include <asm/setup.h> |
22 | 22 | ||
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index d7b78d531e63..6a0f3fa85ef7 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/list.h> | 34 | #include <linux/list.h> |
35 | #include <linux/pagemap.h> | 35 | #include <linux/pagemap.h> |
36 | #include <linux/utsname.h> | 36 | #include <linux/utsname.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <linux/idr.h> | 38 | #include <linux/idr.h> |
39 | #include <linux/uio.h> | 39 | #include <linux/uio.h> |
40 | #include <linux/slab.h> | 40 | #include <linux/slab.h> |
diff --git a/fs/afs/proc.c b/fs/afs/proc.c index 2853b4095344..35efb9a31dd7 100644 --- a/fs/afs/proc.c +++ b/fs/afs/proc.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/proc_fs.h> | 14 | #include <linux/proc_fs.h> |
15 | #include <linux/seq_file.h> | 15 | #include <linux/seq_file.h> |
16 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include "internal.h" | 18 | #include "internal.h" |
19 | 19 | ||
20 | static struct proc_dir_entry *proc_afs; | 20 | static struct proc_dir_entry *proc_afs; |
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/mount.h> | 42 | #include <linux/mount.h> |
43 | 43 | ||
44 | #include <asm/kmap_types.h> | 44 | #include <asm/kmap_types.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | 46 | ||
47 | #include "internal.h" | 47 | #include "internal.h" |
48 | 48 | ||
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 80ef38c73e5a..3168ee4e77f4 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/magic.h> | 20 | #include <linux/magic.h> |
21 | #include <linux/anon_inodes.h> | 21 | #include <linux/anon_inodes.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | static struct vfsmount *anon_inode_mnt __read_mostly; | 25 | static struct vfsmount *anon_inode_mnt __read_mostly; |
26 | static struct inode *anon_inode_inode; | 26 | static struct inode *anon_inode_inode; |
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index 1e5c896f6b79..f2deec0a62f0 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/vfs.h> | 16 | #include <linux/vfs.h> |
17 | #include <linux/writeback.h> | 17 | #include <linux/writeback.h> |
18 | #include <linux/uio.h> | 18 | #include <linux/uio.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include "bfs.h" | 20 | #include "bfs.h" |
21 | 21 | ||
22 | MODULE_AUTHOR("Tigran Aivazian <tigran@aivazian.fsnet.co.uk>"); | 22 | MODULE_AUTHOR("Tigran Aivazian <tigran@aivazian.fsnet.co.uk>"); |
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index ae1b5404fced..2a59139f520b 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/coredump.h> | 26 | #include <linux/coredump.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <asm/cacheflush.h> | 30 | #include <asm/cacheflush.h> |
31 | #include <asm/a.out-core.h> | 31 | #include <asm/a.out-core.h> |
32 | 32 | ||
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index e6c1bd443806..29a02daf08a9 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/coredump.h> | 36 | #include <linux/coredump.h> |
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/dax.h> | 38 | #include <linux/dax.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <asm/param.h> | 40 | #include <asm/param.h> |
41 | #include <asm/page.h> | 41 | #include <asm/page.h> |
42 | 42 | ||
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 464a972e88c1..d2e36f82c35d 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/coredump.h> | 37 | #include <linux/coredump.h> |
38 | #include <linux/dax.h> | 38 | #include <linux/dax.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <asm/param.h> | 41 | #include <asm/param.h> |
42 | #include <asm/pgalloc.h> | 42 | #include <asm/pgalloc.h> |
43 | 43 | ||
diff --git a/fs/block_dev.c b/fs/block_dev.c index 7c4507224ed6..6254cee8f8f3 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/badblocks.h> | 32 | #include <linux/badblocks.h> |
33 | #include <linux/task_io_accounting_ops.h> | 33 | #include <linux/task_io_accounting_ops.h> |
34 | #include <linux/falloc.h> | 34 | #include <linux/falloc.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include "internal.h" | 36 | #include "internal.h" |
37 | 37 | ||
38 | struct bdev_inode { | 38 | struct bdev_inode { |
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 3d03e48a9213..9727e1dcacd5 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/ctype.h> | 24 | #include <linux/ctype.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/proc_fs.h> | 26 | #include <linux/proc_fs.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include "cifspdu.h" | 28 | #include "cifspdu.h" |
29 | #include "cifsglob.h" | 29 | #include "cifsglob.h" |
30 | #include "cifsproto.h" | 30 | #include "cifsproto.h" |
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index e3fed9249a04..b47261858e6d 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/pagemap.h> | 35 | #include <linux/pagemap.h> |
36 | #include <linux/swap.h> | 36 | #include <linux/swap.h> |
37 | #include <linux/task_io_accounting_ops.h> | 37 | #include <linux/task_io_accounting_ops.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include "cifspdu.h" | 39 | #include "cifspdu.h" |
40 | #include "cifsglob.h" | 40 | #include "cifsglob.h" |
41 | #include "cifsacl.h" | 41 | #include "cifsacl.h" |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index b822bf364c2b..35ae49ed1f76 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/pagevec.h> | 34 | #include <linux/pagevec.h> |
35 | #include <linux/freezer.h> | 35 | #include <linux/freezer.h> |
36 | #include <linux/namei.h> | 36 | #include <linux/namei.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/processor.h> | 38 | #include <asm/processor.h> |
39 | #include <linux/inet.h> | 39 | #include <linux/inet.h> |
40 | #include <linux/module.h> | 40 | #include <linux/module.h> |
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 5f02edc819af..fbb84c08e3cd 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/tcp.h> | 30 | #include <linux/tcp.h> |
31 | #include <linux/bvec.h> | 31 | #include <linux/bvec.h> |
32 | #include <linux/highmem.h> | 32 | #include <linux/highmem.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/processor.h> | 34 | #include <asm/processor.h> |
35 | #include <linux/mempool.h> | 35 | #include <linux/mempool.h> |
36 | #include "cifspdu.h" | 36 | #include "cifspdu.h" |
diff --git a/fs/compat.c b/fs/compat.c index 3f4908c28698..e50a2114f474 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <linux/pagemap.h> | 49 | #include <linux/pagemap.h> |
50 | #include <linux/aio.h> | 50 | #include <linux/aio.h> |
51 | 51 | ||
52 | #include <asm/uaccess.h> | 52 | #include <linux/uaccess.h> |
53 | #include <asm/mmu_context.h> | 53 | #include <asm/mmu_context.h> |
54 | #include <asm/ioctls.h> | 54 | #include <asm/ioctls.h> |
55 | #include "internal.h" | 55 | #include "internal.h" |
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index f2d7402abe02..11d087b2b28e 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -76,7 +76,7 @@ | |||
76 | #include <scsi/sg.h> | 76 | #include <scsi/sg.h> |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #include <asm/uaccess.h> | 79 | #include <linux/uaccess.h> |
80 | #include <linux/ethtool.h> | 80 | #include <linux/ethtool.h> |
81 | #include <linux/mii.h> | 81 | #include <linux/mii.h> |
82 | #include <linux/if_bonding.h> | 82 | #include <linux/if_bonding.h> |
diff --git a/fs/configfs/file.c b/fs/configfs/file.c index 2c6312db8516..39da1103d341 100644 --- a/fs/configfs/file.c +++ b/fs/configfs/file.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/mutex.h> | 30 | #include <linux/mutex.h> |
31 | #include <linux/vmalloc.h> | 31 | #include <linux/vmalloc.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <linux/configfs.h> | 34 | #include <linux/configfs.h> |
35 | #include "configfs_internal.h" | 35 | #include "configfs_internal.h" |
diff --git a/fs/coredump.c b/fs/coredump.c index eb9c92c9b20f..e525b6017cdf 100644 --- a/fs/coredump.c +++ b/fs/coredump.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/path.h> | 38 | #include <linux/path.h> |
39 | #include <linux/timekeeping.h> | 39 | #include <linux/timekeeping.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/mmu_context.h> | 42 | #include <asm/mmu_context.h> |
43 | #include <asm/tlb.h> | 43 | #include <asm/tlb.h> |
44 | #include <asm/exec.h> | 44 | #include <asm/exec.h> |
diff --git a/fs/dcache.c b/fs/dcache.c index 252378359a8f..769903dbc19d 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/export.h> | 26 | #include <linux/export.h> |
27 | #include <linux/mount.h> | 27 | #include <linux/mount.h> |
28 | #include <linux/file.h> | 28 | #include <linux/file.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <linux/security.h> | 30 | #include <linux/security.h> |
31 | #include <linux/seqlock.h> | 31 | #include <linux/seqlock.h> |
32 | #include <linux/swap.h> | 32 | #include <linux/swap.h> |
diff --git a/fs/dcookies.c b/fs/dcookies.c index a26a701ef512..0d0461cf2431 100644 --- a/fs/dcookies.c +++ b/fs/dcookies.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/mutex.h> | 26 | #include <linux/mutex.h> |
27 | #include <linux/path.h> | 27 | #include <linux/path.h> |
28 | #include <linux/compat.h> | 28 | #include <linux/compat.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | /* The dcookies are allocated from a kmem_cache and | 31 | /* The dcookies are allocated from a kmem_cache and |
32 | * hashed onto a small number of lists. None of the | 32 | * hashed onto a small number of lists. None of the |
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index b670f5601fbb..748e8d59e611 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/mutex.h> | 38 | #include <linux/mutex.h> |
39 | #include <linux/idr.h> | 39 | #include <linux/idr.h> |
40 | #include <linux/ratelimit.h> | 40 | #include <linux/ratelimit.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include <linux/dlm.h> | 43 | #include <linux/dlm.h> |
44 | #include "config.h" | 44 | #include "config.h" |
diff --git a/fs/efs/efs.h b/fs/efs/efs.h index 5bbf9612140c..70f5d4f9a945 100644 --- a/fs/efs/efs.h +++ b/fs/efs/efs.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
15 | 15 | ||
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #define EFS_VERSION "1.0a" | 19 | #define EFS_VERSION "1.0a" |
20 | 20 | ||
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 10db91218933..bcb68fcc8445 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/mutex.h> | 34 | #include <linux/mutex.h> |
35 | #include <linux/anon_inodes.h> | 35 | #include <linux/anon_inodes.h> |
36 | #include <linux/device.h> | 36 | #include <linux/device.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <asm/io.h> | 38 | #include <asm/io.h> |
39 | #include <asm/mman.h> | 39 | #include <asm/mman.h> |
40 | #include <linux/atomic.h> | 40 | #include <linux/atomic.h> |
@@ -58,7 +58,7 @@ | |||
58 | #include <linux/compat.h> | 58 | #include <linux/compat.h> |
59 | #include <linux/vmalloc.h> | 59 | #include <linux/vmalloc.h> |
60 | 60 | ||
61 | #include <asm/uaccess.h> | 61 | #include <linux/uaccess.h> |
62 | #include <asm/mmu_context.h> | 62 | #include <asm/mmu_context.h> |
63 | #include <asm/tlb.h> | 63 | #include <asm/tlb.h> |
64 | 64 | ||
diff --git a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c index 9d617423e936..191e02b28ce8 100644 --- a/fs/ext2/ioctl.c +++ b/fs/ext2/ioctl.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/compat.h> | 14 | #include <linux/compat.h> |
15 | #include <linux/mount.h> | 15 | #include <linux/mount.h> |
16 | #include <asm/current.h> | 16 | #include <asm/current.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | 19 | ||
20 | long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | 20 | long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) |
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 6cb042b53b5b..9e25a71fe1a2 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/mount.h> | 31 | #include <linux/mount.h> |
32 | #include <linux/log2.h> | 32 | #include <linux/log2.h> |
33 | #include <linux/quotaops.h> | 33 | #include <linux/quotaops.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include "ext2.h" | 35 | #include "ext2.h" |
36 | #include "xattr.h" | 36 | #include "xattr.h" |
37 | #include "acl.h" | 37 | #include "acl.h" |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index b1f8416923ab..3e295d3350a9 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/quotaops.h> | 37 | #include <linux/quotaops.h> |
38 | #include <linux/string.h> | 38 | #include <linux/string.h> |
39 | #include <linux/slab.h> | 39 | #include <linux/slab.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | #include <linux/fiemap.h> | 41 | #include <linux/fiemap.h> |
42 | #include <linux/backing-dev.h> | 42 | #include <linux/backing-dev.h> |
43 | #include "ext4_jbd2.h" | 43 | #include "ext4_jbd2.h" |
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 49fd1371bfa2..d534399cf607 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/file.h> | 15 | #include <linux/file.h> |
16 | #include <linux/quotaops.h> | 16 | #include <linux/quotaops.h> |
17 | #include <linux/uuid.h> | 17 | #include <linux/uuid.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include "ext4_jbd2.h" | 19 | #include "ext4_jbd2.h" |
20 | #include "ext4.h" | 20 | #include "ext4.h" |
21 | 21 | ||
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 63a6b6332682..66845a08a87a 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/log2.h> | 38 | #include <linux/log2.h> |
39 | #include <linux/crc16.h> | 39 | #include <linux/crc16.h> |
40 | #include <linux/cleancache.h> | 40 | #include <linux/cleancache.h> |
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | 42 | ||
43 | #include <linux/kthread.h> | 43 | #include <linux/kthread.h> |
44 | #include <linux/freezer.h> | 44 | #include <linux/freezer.h> |
diff --git a/fs/fcntl.c b/fs/fcntl.c index 6e2771c210f6..e1c54f20325c 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include <asm/poll.h> | 26 | #include <asm/poll.h> |
27 | #include <asm/siginfo.h> | 27 | #include <asm/siginfo.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) | 30 | #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) |
31 | 31 | ||
diff --git a/fs/fhandle.c b/fs/fhandle.c index ca3c3dd01789..5559168d5637 100644 --- a/fs/fhandle.c +++ b/fs/fhandle.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/fs_struct.h> | 8 | #include <linux/fs_struct.h> |
9 | #include <linux/fsnotify.h> | 9 | #include <linux/fsnotify.h> |
10 | #include <linux/personality.h> | 10 | #include <linux/personality.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include "internal.h" | 12 | #include "internal.h" |
13 | #include "mount.h" | 13 | #include "mount.h" |
14 | 14 | ||
diff --git a/fs/filesystems.c b/fs/filesystems.c index c5618db110be..cac75547d35c 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /* | 19 | /* |
20 | * Handling of filesystem drivers list. | 20 | * Handling of filesystem drivers list. |
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index e23ff70b3435..016c11eaca7c 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/swap.h> | 22 | #include <linux/swap.h> |
23 | #include <linux/crc32.h> | 23 | #include <linux/crc32.h> |
24 | #include <linux/writeback.h> | 24 | #include <linux/writeback.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <linux/dlm.h> | 26 | #include <linux/dlm.h> |
27 | #include <linux/dlm_plock.h> | 27 | #include <linux/dlm_plock.h> |
28 | #include <linux/delay.h> | 28 | #include <linux/delay.h> |
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 14cbf60167a7..f7b3ba61add5 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/list.h> | 21 | #include <linux/list.h> |
22 | #include <linux/wait.h> | 22 | #include <linux/wait.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
26 | #include <linux/debugfs.h> | 26 | #include <linux/debugfs.h> |
27 | #include <linux/kthread.h> | 27 | #include <linux/kthread.h> |
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 6cd9f84967b8..eb7724b8578a 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/crc32.h> | 19 | #include <linux/crc32.h> |
20 | #include <linux/fiemap.h> | 20 | #include <linux/fiemap.h> |
21 | #include <linux/security.h> | 21 | #include <linux/security.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | #include "gfs2.h" | 24 | #include "gfs2.h" |
25 | #include "incore.h" | 25 | #include "incore.h" |
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index c9ff1cf7d4f3..f8d30e41d1d3 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/buffer_head.h> | 15 | #include <linux/buffer_head.h> |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/kobject.h> | 17 | #include <linux/kobject.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <linux/gfs2_ondisk.h> | 19 | #include <linux/gfs2_ondisk.h> |
20 | #include <linux/genhd.h> | 20 | #include <linux/genhd.h> |
21 | 21 | ||
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index aee4485ad8a9..763d659db91b 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/buffer_head.h> | 14 | #include <linux/buffer_head.h> |
15 | #include <linux/crc32.h> | 15 | #include <linux/crc32.h> |
16 | #include <linux/gfs2_ondisk.h> | 16 | #include <linux/gfs2_ondisk.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "gfs2.h" | 19 | #include "gfs2.h" |
20 | #include "incore.h" | 20 | #include "incore.h" |
diff --git a/fs/gfs2/xattr.c b/fs/gfs2/xattr.c index a4a577088d19..d87721aeb575 100644 --- a/fs/gfs2/xattr.c +++ b/fs/gfs2/xattr.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/xattr.h> | 14 | #include <linux/xattr.h> |
15 | #include <linux/gfs2_ondisk.h> | 15 | #include <linux/gfs2_ondisk.h> |
16 | #include <linux/posix_acl_xattr.h> | 16 | #include <linux/posix_acl_xattr.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | #include "gfs2.h" | 19 | #include "gfs2.h" |
20 | #include "incore.h" | 20 | #include "incore.h" |
diff --git a/fs/hfs/hfs_fs.h b/fs/hfs/hfs_fs.h index 4cdec5a19347..6d0783e2e276 100644 --- a/fs/hfs/hfs_fs.h +++ b/fs/hfs/hfs_fs.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/workqueue.h> | 23 | #include <linux/workqueue.h> |
24 | 24 | ||
25 | #include <asm/byteorder.h> | 25 | #include <asm/byteorder.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | 27 | ||
28 | #include "hfs.h" | 28 | #include "hfs.h" |
29 | 29 | ||
diff --git a/fs/hfsplus/ioctl.c b/fs/hfsplus/ioctl.c index 99627f8a0a18..0a156d84e67d 100644 --- a/fs/hfsplus/ioctl.c +++ b/fs/hfsplus/ioctl.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
17 | #include <linux/mount.h> | 17 | #include <linux/mount.h> |
18 | #include <linux/sched.h> | 18 | #include <linux/sched.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include "hfsplus_fs.h" | 20 | #include "hfsplus_fs.h" |
21 | 21 | ||
22 | /* | 22 | /* |
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 4fb7b10f3a05..54de77e78775 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/migrate.h> | 37 | #include <linux/migrate.h> |
38 | #include <linux/uio.h> | 38 | #include <linux/uio.h> |
39 | 39 | ||
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | static const struct super_operations hugetlbfs_ops; | 42 | static const struct super_operations hugetlbfs_ops; |
43 | static const struct address_space_operations hugetlbfs_aops; | 43 | static const struct address_space_operations hugetlbfs_aops; |
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 8ed971eeab44..a097048ed1a3 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #define CREATE_TRACE_POINTS | 47 | #define CREATE_TRACE_POINTS |
48 | #include <trace/events/jbd2.h> | 48 | #include <trace/events/jbd2.h> |
49 | 49 | ||
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | #include <asm/page.h> | 51 | #include <asm/page.h> |
52 | 52 | ||
53 | #ifdef CONFIG_JBD2_DEBUG | 53 | #ifdef CONFIG_JBD2_DEBUG |
diff --git a/fs/jfs/ioctl.c b/fs/jfs/ioctl.c index b6fd1ff29ddf..fc89f9436784 100644 --- a/fs/jfs/ioctl.c +++ b/fs/jfs/ioctl.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/blkdev.h> | 14 | #include <linux/blkdev.h> |
15 | #include <asm/current.h> | 15 | #include <asm/current.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "jfs_filsys.h" | 18 | #include "jfs_filsys.h" |
19 | #include "jfs_debug.h" | 19 | #include "jfs_debug.h" |
diff --git a/fs/jfs/jfs_debug.c b/fs/jfs/jfs_debug.c index a37eb5f8cbc0..a70907606025 100644 --- a/fs/jfs/jfs_debug.c +++ b/fs/jfs/jfs_debug.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/proc_fs.h> | 23 | #include <linux/proc_fs.h> |
24 | #include <linux/seq_file.h> | 24 | #include <linux/seq_file.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include "jfs_incore.h" | 26 | #include "jfs_incore.h" |
27 | #include "jfs_filsys.h" | 27 | #include "jfs_filsys.h" |
28 | #include "jfs_debug.h" | 28 | #include "jfs_debug.h" |
diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 85671f7f8518..2be7c9ce6663 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/exportfs.h> | 31 | #include <linux/exportfs.h> |
32 | #include <linux/crc32.h> | 32 | #include <linux/crc32.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/seq_file.h> | 35 | #include <linux/seq_file.h> |
36 | #include <linux/blkdev.h> | 36 | #include <linux/blkdev.h> |
37 | 37 | ||
diff --git a/fs/libfs.c b/fs/libfs.c index 6637aa60c1da..e973cd51f126 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/writeback.h> | 16 | #include <linux/writeback.h> |
17 | #include <linux/buffer_head.h> /* sync_mapping_buffers */ | 17 | #include <linux/buffer_head.h> /* sync_mapping_buffers */ |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | #include "internal.h" | 21 | #include "internal.h" |
22 | 22 | ||
diff --git a/fs/locks.c b/fs/locks.c index 22c5b4aa4961..26811321d39b 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -131,7 +131,7 @@ | |||
131 | #define CREATE_TRACE_POINTS | 131 | #define CREATE_TRACE_POINTS |
132 | #include <trace/events/filelock.h> | 132 | #include <trace/events/filelock.h> |
133 | 133 | ||
134 | #include <asm/uaccess.h> | 134 | #include <linux/uaccess.h> |
135 | 135 | ||
136 | #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) | 136 | #define IS_POSIX(fl) (fl->fl_flags & FL_POSIX) |
137 | #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) | 137 | #define IS_FLOCK(fl) (fl->fl_flags & FL_FLOCK) |
diff --git a/fs/namei.c b/fs/namei.c index d9fc7617b9e4..ad74877e1442 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/hash.h> | 37 | #include <linux/hash.h> |
38 | #include <linux/bitops.h> | 38 | #include <linux/bitops.h> |
39 | #include <linux/init_task.h> | 39 | #include <linux/init_task.h> |
40 | #include <asm/uaccess.h> | 40 | #include <linux/uaccess.h> |
41 | 41 | ||
42 | #include "internal.h" | 42 | #include "internal.h" |
43 | #include "mount.h" | 43 | #include "mount.h" |
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 6df2a3827574..088f52484d6e 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/vmalloc.h> | 18 | #include <linux/vmalloc.h> |
19 | #include <linux/mm.h> | 19 | #include <linux/mm.h> |
20 | #include <linux/namei.h> | 20 | #include <linux/namei.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/byteorder.h> | 22 | #include <asm/byteorder.h> |
23 | 23 | ||
24 | #include "ncp_fs.h" | 24 | #include "ncp_fs.h" |
diff --git a/fs/ncpfs/file.c b/fs/ncpfs/file.c index 83ca77231707..76965e772264 100644 --- a/fs/ncpfs/file.c +++ b/fs/ncpfs/file.c | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
10 | 10 | ||
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | #include <linux/time.h> | 13 | #include <linux/time.h> |
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index ba611bf1aff3..7eb89c23c847 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <asm/byteorder.h> | 17 | #include <asm/byteorder.h> |
18 | 18 | ||
19 | #include <linux/time.h> | 19 | #include <linux/time.h> |
diff --git a/fs/ncpfs/ioctl.c b/fs/ncpfs/ioctl.c index 0a3f9b594602..4434e4977cf3 100644 --- a/fs/ncpfs/ioctl.c +++ b/fs/ncpfs/ioctl.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/vmalloc.h> | 20 | #include <linux/vmalloc.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | 24 | ||
25 | #include "ncp_fs.h" | 25 | #include "ncp_fs.h" |
26 | 26 | ||
diff --git a/fs/ncpfs/mmap.c b/fs/ncpfs/mmap.c index 33b873b259a8..39f57bef8531 100644 --- a/fs/ncpfs/mmap.c +++ b/fs/ncpfs/mmap.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/fcntl.h> | 18 | #include <linux/fcntl.h> |
19 | #include <linux/memcontrol.h> | 19 | #include <linux/memcontrol.h> |
20 | 20 | ||
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | 22 | ||
23 | #include "ncp_fs.h" | 23 | #include "ncp_fs.h" |
24 | 24 | ||
diff --git a/fs/ncpfs/ncplib_kernel.h b/fs/ncpfs/ncplib_kernel.h index 17cfb743b5bf..b4c87cfcee95 100644 --- a/fs/ncpfs/ncplib_kernel.h +++ b/fs/ncpfs/ncplib_kernel.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/fcntl.h> | 21 | #include <linux/fcntl.h> |
22 | #include <linux/pagemap.h> | 22 | #include <linux/pagemap.h> |
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <asm/byteorder.h> | 25 | #include <asm/byteorder.h> |
26 | #include <asm/unaligned.h> | 26 | #include <asm/unaligned.h> |
27 | #include <asm/string.h> | 27 | #include <asm/string.h> |
diff --git a/fs/ncpfs/sock.c b/fs/ncpfs/sock.c index 471bc3d1139e..f32f272ee501 100644 --- a/fs/ncpfs/sock.c +++ b/fs/ncpfs/sock.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/fcntl.h> | 16 | #include <linux/fcntl.h> |
17 | #include <linux/stat.h> | 17 | #include <linux/stat.h> |
18 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/in.h> | 20 | #include <linux/in.h> |
21 | #include <linux/net.h> | 21 | #include <linux/net.h> |
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
diff --git a/fs/ncpfs/symlink.c b/fs/ncpfs/symlink.c index 421b6f91e8ec..a6d26b46fc05 100644 --- a/fs/ncpfs/symlink.c +++ b/fs/ncpfs/symlink.c | |||
@@ -21,7 +21,7 @@ | |||
21 | */ | 21 | */ |
22 | 22 | ||
23 | 23 | ||
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | 25 | ||
26 | #include <linux/errno.h> | 26 | #include <linux/errno.h> |
27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index be88bcdca692..aab32fc3d6a8 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <linux/nfs_page.h> | 52 | #include <linux/nfs_page.h> |
53 | #include <linux/sunrpc/clnt.h> | 53 | #include <linux/sunrpc/clnt.h> |
54 | 54 | ||
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | #include <linux/atomic.h> | 56 | #include <linux/atomic.h> |
57 | 57 | ||
58 | #include "internal.h" | 58 | #include "internal.h" |
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 157cb43ce9db..26dbe8b0c10d 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
30 | #include <linux/swap.h> | 30 | #include <linux/swap.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include "delegation.h" | 34 | #include "delegation.h" |
35 | #include "internal.h" | 35 | #include "internal.h" |
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c index a608ffd28acc..391dafaf9182 100644 --- a/fs/nfs/getroot.c +++ b/fs/nfs/getroot.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/namei.h> | 30 | #include <linux/namei.h> |
31 | #include <linux/security.h> | 31 | #include <linux/security.h> |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #include "internal.h" | 35 | #include "internal.h" |
36 | 36 | ||
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 011e4f8c1e01..5ca4d96b1942 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/compat.h> | 39 | #include <linux/compat.h> |
40 | #include <linux/freezer.h> | 40 | #include <linux/freezer.h> |
41 | 41 | ||
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | 43 | ||
44 | #include "nfs4_fs.h" | 44 | #include "nfs4_fs.h" |
45 | #include "callback.h" | 45 | #include "callback.h" |
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index ddce94ce8142..6bca17883b93 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/nsproxy.h> | 55 | #include <linux/nsproxy.h> |
56 | #include <linux/rcupdate.h> | 56 | #include <linux/rcupdate.h> |
57 | 57 | ||
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | 59 | ||
60 | #include "nfs4_fs.h" | 60 | #include "nfs4_fs.h" |
61 | #include "callback.h" | 61 | #include "callback.h" |
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 6e761f3f4cbf..b00d53d13d47 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/freezer.h> | 24 | #include <linux/freezer.h> |
25 | #include <linux/wait.h> | 25 | #include <linux/wait.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "delegation.h" | 29 | #include "delegation.h" |
30 | #include "internal.h" | 30 | #include "internal.h" |
diff --git a/fs/nfsd/fault_inject.c b/fs/nfsd/fault_inject.c index c16bf5af6831..34c1c449fddf 100644 --- a/fs/nfsd/fault_inject.c +++ b/fs/nfsd/fault_inject.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
11 | #include <linux/nsproxy.h> | 11 | #include <linux/nsproxy.h> |
12 | #include <linux/sunrpc/addr.h> | 12 | #include <linux/sunrpc/addr.h> |
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | 14 | ||
15 | #include "state.h" | 15 | #include "state.h" |
16 | #include "netns.h" | 16 | #include "netns.h" |
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 7a21abe7caf7..26c6fdb4bf67 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/jhash.h> | 26 | #include <linux/jhash.h> |
27 | #include <linux/ima.h> | 27 | #include <linux/ima.h> |
28 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <linux/exportfs.h> | 30 | #include <linux/exportfs.h> |
31 | #include <linux/writeback.h> | 31 | #include <linux/writeback.h> |
32 | #include <linux/security.h> | 32 | #include <linux/security.h> |
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 99510d811a8c..358ed7e1195a 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/writeback.h> | 30 | #include <linux/writeback.h> |
31 | 31 | ||
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | 34 | ||
35 | #include "attrib.h" | 35 | #include "attrib.h" |
36 | #include "bitmap.h" | 36 | #include "bitmap.h" |
diff --git a/fs/ocfs2/cluster/masklog.c b/fs/ocfs2/cluster/masklog.c index dfe162f5fd4c..d331c2386b94 100644 --- a/fs/ocfs2/cluster/masklog.c +++ b/fs/ocfs2/cluster/masklog.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/proc_fs.h> | 24 | #include <linux/proc_fs.h> |
25 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
26 | #include <linux/string.h> | 26 | #include <linux/string.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "masklog.h" | 29 | #include "masklog.h" |
30 | 30 | ||
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index 8abab16b4602..d4b5c81f0445 100644 --- a/fs/ocfs2/cluster/tcp.c +++ b/fs/ocfs2/cluster/tcp.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <linux/export.h> | 62 | #include <linux/export.h> |
63 | #include <net/tcp.h> | 63 | #include <net/tcp.h> |
64 | 64 | ||
65 | #include <asm/uaccess.h> | 65 | #include <linux/uaccess.h> |
66 | 66 | ||
67 | #include "heartbeat.h" | 67 | #include "heartbeat.h" |
68 | #include "tcp.h" | 68 | #include "tcp.h" |
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c index 1079fae5aa12..9ab9e1892b5f 100644 --- a/fs/ocfs2/dlmfs/dlmfs.c +++ b/fs/ocfs2/dlmfs/dlmfs.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/backing-dev.h> | 45 | #include <linux/backing-dev.h> |
46 | #include <linux/poll.h> | 46 | #include <linux/poll.h> |
47 | 47 | ||
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | 49 | ||
50 | #include "stackglue.h" | 50 | #include "stackglue.h" |
51 | #include "userdlm.h" | 51 | #include "userdlm.h" |
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index c9e828ec3c8e..dae9eb7c441e 100644 --- a/fs/ocfs2/stack_user.c +++ b/fs/ocfs2/stack_user.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | #include <linux/reboot.h> | 25 | #include <linux/reboot.h> |
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "stackglue.h" | 29 | #include "stackglue.h" |
30 | 30 | ||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/mount.h> | 19 | #include <linux/mount.h> |
20 | #include <linux/fcntl.h> | 20 | #include <linux/fcntl.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
24 | #include <linux/personality.h> | 24 | #include <linux/personality.h> |
25 | #include <linux/pagemap.h> | 25 | #include <linux/pagemap.h> |
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index c003a667ed1a..13215f26e321 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/openprom.h> | 16 | #include <asm/openprom.h> |
17 | #include <asm/oplib.h> | 17 | #include <asm/oplib.h> |
18 | #include <asm/prom.h> | 18 | #include <asm/prom.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | 20 | ||
21 | static DEFINE_MUTEX(op_mutex); | 21 | static DEFINE_MUTEX(op_mutex); |
22 | 22 | ||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/fcntl.h> | 23 | #include <linux/fcntl.h> |
24 | #include <linux/memcontrol.h> | 24 | #include <linux/memcontrol.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/ioctls.h> | 27 | #include <asm/ioctls.h> |
28 | 28 | ||
29 | #include "internal.h" | 29 | #include "internal.h" |
diff --git a/fs/proc/base.c b/fs/proc/base.c index 5ea836362870..8e7e61b28f31 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -47,7 +47,7 @@ | |||
47 | * Overall revision about smaps. | 47 | * Overall revision about smaps. |
48 | */ | 48 | */ |
49 | 49 | ||
50 | #include <asm/uaccess.h> | 50 | #include <linux/uaccess.h> |
51 | 51 | ||
52 | #include <linux/errno.h> | 52 | #include <linux/errno.h> |
53 | #include <linux/time.h> | 53 | #include <linux/time.h> |
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 7eb3cefcf2a3..f6a01f09f79d 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
23 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
24 | #include <linux/completion.h> | 24 | #include <linux/completion.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | #include "internal.h" | 27 | #include "internal.h" |
28 | 28 | ||
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 873300164dc6..842a5ff5b85c 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/mount.h> | 24 | #include <linux/mount.h> |
25 | #include <linux/magic.h> | 25 | #include <linux/magic.h> |
26 | 26 | ||
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include "internal.h" | 29 | #include "internal.h" |
30 | 30 | ||
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index 5c89a07e3d7f..0b80ad87b4d6 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/bootmem.h> | 23 | #include <linux/bootmem.h> |
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <linux/list.h> | 28 | #include <linux/list.h> |
29 | #include <linux/ioport.h> | 29 | #include <linux/ioport.h> |
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c index 05f8dcdb086e..f9387bb7631b 100644 --- a/fs/proc/kmsg.c +++ b/fs/proc/kmsg.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/fs.h> | 14 | #include <linux/fs.h> |
15 | #include <linux/syslog.h> | 15 | #include <linux/syslog.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | 19 | ||
20 | extern wait_queue_head_t log_wait; | 20 | extern wait_queue_head_t log_wait; |
diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c index f8595e8b5cd0..75634379f82e 100644 --- a/fs/proc/nommu.c +++ b/fs/proc/nommu.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/seq_file.h> | 25 | #include <linux/seq_file.h> |
26 | #include <linux/hugetlb.h> | 26 | #include <linux/hugetlb.h> |
27 | #include <linux/vmalloc.h> | 27 | #include <linux/vmalloc.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
30 | #include <asm/tlb.h> | 30 | #include <asm/tlb.h> |
31 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
diff --git a/fs/proc/page.c b/fs/proc/page.c index 3ecd445e830d..a2066e6dee90 100644 --- a/fs/proc/page.c +++ b/fs/proc/page.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mmu_notifier.h> | 13 | #include <linux/mmu_notifier.h> |
14 | #include <linux/page_idle.h> | 14 | #include <linux/page_idle.h> |
15 | #include <linux/kernel-page-flags.h> | 15 | #include <linux/kernel-page-flags.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include "internal.h" | 17 | #include "internal.h" |
18 | 18 | ||
19 | #define KPMSIZE sizeof(u64) | 19 | #define KPMSIZE sizeof(u64) |
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index 7ae6b1da7cab..ffd72a6c6e04 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * proc net directory handling functions | 8 | * proc net directory handling functions |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | #include <linux/time.h> | 14 | #include <linux/time.h> |
diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c index 15f327bed8c6..901bd06f437d 100644 --- a/fs/proc/proc_tty.c +++ b/fs/proc/proc_tty.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Copyright 1997, Theodore Ts'o | 4 | * Copyright 1997, Theodore Ts'o |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
10 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
diff --git a/fs/proc/root.c b/fs/proc/root.c index 4bd0373576b5..1988440b2049 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * proc root directory handling functions | 6 | * proc root directory handling functions |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | 10 | ||
11 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
12 | #include <linux/time.h> | 12 | #include <linux/time.h> |
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 958f32545064..8f96a49178d0 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/shmem_fs.h> | 17 | #include <linux/shmem_fs.h> |
18 | 18 | ||
19 | #include <asm/elf.h> | 19 | #include <asm/elf.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <asm/tlbflush.h> | 21 | #include <asm/tlbflush.h> |
22 | #include "internal.h" | 22 | #include "internal.h" |
23 | 23 | ||
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 8ab782d8b33d..5105b1599981 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/vmalloc.h> | 23 | #include <linux/vmalloc.h> |
24 | #include <linux/pagemap.h> | 24 | #include <linux/pagemap.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include "internal.h" | 27 | #include "internal.h" |
28 | 28 | ||
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c index 2bcbf4e77982..2ef7ce75c062 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/sched.h> | 23 | #include <linux/sched.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include "internal.h" | 27 | #include "internal.h" |
28 | 28 | ||
29 | static int ramfs_nommu_setattr(struct dentry *, struct iattr *); | 29 | static int ramfs_nommu_setattr(struct dentry *, struct iattr *); |
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index 8621c039b536..26e45863e499 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/parser.h> | 35 | #include <linux/parser.h> |
36 | #include <linux/magic.h> | 36 | #include <linux/magic.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include "internal.h" | 39 | #include "internal.h" |
40 | 40 | ||
41 | #define RAMFS_DEFAULT_MODE 0755 | 41 | #define RAMFS_DEFAULT_MODE 0755 |
diff --git a/fs/read_write.c b/fs/read_write.c index 7537b6b6b5a2..5816d4c4cab0 100644 --- a/fs/read_write.c +++ b/fs/read_write.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/fs.h> | 20 | #include <linux/fs.h> |
21 | #include "internal.h" | 21 | #include "internal.h" |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/unistd.h> | 24 | #include <asm/unistd.h> |
25 | 25 | ||
26 | typedef ssize_t (*io_fn_t)(struct file *, char __user *, size_t, loff_t *); | 26 | typedef ssize_t (*io_fn_t)(struct file *, char __user *, size_t, loff_t *); |
diff --git a/fs/readdir.c b/fs/readdir.c index 9d0212c374d6..0e8a7f355f7a 100644 --- a/fs/readdir.c +++ b/fs/readdir.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/syscalls.h> | 19 | #include <linux/syscalls.h> |
20 | #include <linux/unistd.h> | 20 | #include <linux/unistd.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | 23 | ||
24 | int iterate_dir(struct file *file, struct dir_context *ctx) | 24 | int iterate_dir(struct file *file, struct dir_context *ctx) |
25 | { | 25 | { |
diff --git a/fs/select.c b/fs/select.c index 3d4f85defeab..305c0daf5d67 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <net/busy_poll.h> | 31 | #include <net/busy_poll.h> |
32 | #include <linux/vmalloc.h> | 32 | #include <linux/vmalloc.h> |
33 | 33 | ||
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | 36 | ||
37 | /* | 37 | /* |
diff --git a/fs/seq_file.c b/fs/seq_file.c index a11f271800ef..ca69fb99e41a 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/printk.h> | 15 | #include <linux/printk.h> |
16 | #include <linux/string_helpers.h> | 16 | #include <linux/string_helpers.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/page.h> | 19 | #include <asm/page.h> |
20 | 20 | ||
21 | static void seq_set_overflow(struct seq_file *m) | 21 | static void seq_set_overflow(struct seq_file *m) |
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/syscalls.h> | 15 | #include <linux/syscalls.h> |
16 | #include <linux/pagemap.h> | 16 | #include <linux/pagemap.h> |
17 | 17 | ||
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/unistd.h> | 19 | #include <asm/unistd.h> |
20 | 20 | ||
21 | void generic_fillattr(struct inode *inode, struct kstat *stat) | 21 | void generic_fillattr(struct inode *inode, struct kstat *stat) |
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 1bc0bd6a9848..7e41aee7b69a 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c | |||
@@ -25,7 +25,7 @@ | |||
25 | * David S. Miller (davem@caip.rutgers.edu), 1995 | 25 | * David S. Miller (davem@caip.rutgers.edu), 1995 |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #include <linux/errno.h> | 30 | #include <linux/errno.h> |
31 | #include <linux/fs.h> | 31 | #include <linux/fs.h> |
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index f04ab232d08d..131b2b77c818 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -71,7 +71,7 @@ | |||
71 | 71 | ||
72 | #include <stdarg.h> | 72 | #include <stdarg.h> |
73 | 73 | ||
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | #include <linux/errno.h> | 76 | #include <linux/errno.h> |
77 | #include <linux/fs.h> | 77 | #include <linux/fs.h> |
diff --git a/fs/utimes.c b/fs/utimes.c index 5fdb505e307c..32b15b3f6629 100644 --- a/fs/utimes.c +++ b/fs/utimes.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/stat.h> | 8 | #include <linux/stat.h> |
9 | #include <linux/utime.h> | 9 | #include <linux/utime.h> |
10 | #include <linux/syscalls.h> | 10 | #include <linux/syscalls.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <asm/unistd.h> | 12 | #include <asm/unistd.h> |
13 | 13 | ||
14 | #ifdef __ARCH_WANT_SYS_UTIME | 14 | #ifdef __ARCH_WANT_SYS_UTIME |
diff --git a/fs/xattr.c b/fs/xattr.c index 2d13b4e62fae..7e3317cf4045 100644 --- a/fs/xattr.c +++ b/fs/xattr.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/vmalloc.h> | 22 | #include <linux/vmalloc.h> |
23 | #include <linux/posix_acl_xattr.h> | 23 | #include <linux/posix_acl_xattr.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | static const char * | 27 | static const char * |
28 | strcmp_prefix(const char *a, const char *a_prefix) | 28 | strcmp_prefix(const char *a, const char *a_prefix) |
diff --git a/fs/xfs/xfs_ioctl32.c b/fs/xfs/xfs_ioctl32.c index 321f57721b92..7c49938c5aed 100644 --- a/fs/xfs/xfs_ioctl32.c +++ b/fs/xfs/xfs_ioctl32.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/ioctl.h> | 19 | #include <linux/ioctl.h> |
20 | #include <linux/mount.h> | 20 | #include <linux/mount.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include "xfs.h" | 23 | #include "xfs.h" |
24 | #include "xfs_fs.h" | 24 | #include "xfs_fs.h" |
25 | #include "xfs_format.h" | 25 | #include "xfs_format.h" |
diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_linux.h index a415f822f2c1..e467218c0098 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_linux.h | |||
@@ -83,7 +83,7 @@ typedef __u32 xfs_nlink_t; | |||
83 | #include <asm/page.h> | 83 | #include <asm/page.h> |
84 | #include <asm/div64.h> | 84 | #include <asm/div64.h> |
85 | #include <asm/param.h> | 85 | #include <asm/param.h> |
86 | #include <asm/uaccess.h> | 86 | #include <linux/uaccess.h> |
87 | #include <asm/byteorder.h> | 87 | #include <asm/byteorder.h> |
88 | #include <asm/unaligned.h> | 88 | #include <asm/unaligned.h> |
89 | 89 | ||
diff --git a/include/asm-generic/termios-base.h b/include/asm-generic/termios-base.h index 0a769feb22b0..157bbf6f4510 100644 --- a/include/asm-generic/termios-base.h +++ b/include/asm-generic/termios-base.h | |||
@@ -4,7 +4,7 @@ | |||
4 | #ifndef _ASM_GENERIC_TERMIOS_BASE_H | 4 | #ifndef _ASM_GENERIC_TERMIOS_BASE_H |
5 | #define _ASM_GENERIC_TERMIOS_BASE_H | 5 | #define _ASM_GENERIC_TERMIOS_BASE_H |
6 | 6 | ||
7 | #include <asm/uaccess.h> | 7 | #include <linux/uaccess.h> |
8 | 8 | ||
9 | #ifndef __ARCH_TERMIO_GETPUT | 9 | #ifndef __ARCH_TERMIO_GETPUT |
10 | 10 | ||
diff --git a/include/asm-generic/termios.h b/include/asm-generic/termios.h index 4fa6fe0fc2a2..8c13a16b074e 100644 --- a/include/asm-generic/termios.h +++ b/include/asm-generic/termios.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _ASM_GENERIC_TERMIOS_H | 2 | #define _ASM_GENERIC_TERMIOS_H |
3 | 3 | ||
4 | 4 | ||
5 | #include <asm/uaccess.h> | 5 | #include <linux/uaccess.h> |
6 | #include <uapi/asm-generic/termios.h> | 6 | #include <uapi/asm-generic/termios.h> |
7 | 7 | ||
8 | /* intr=^C quit=^\ erase=del kill=^U | 8 | /* intr=^C quit=^\ erase=del kill=^U |
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index a9cfd33c7b1a..192016e2b518 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -61,7 +61,7 @@ | |||
61 | 61 | ||
62 | #include <asm/mman.h> | 62 | #include <asm/mman.h> |
63 | #include <asm/pgalloc.h> | 63 | #include <asm/pgalloc.h> |
64 | #include <asm/uaccess.h> | 64 | #include <linux/uaccess.h> |
65 | 65 | ||
66 | #include <uapi/drm/drm.h> | 66 | #include <uapi/drm/drm.h> |
67 | #include <uapi/drm/drm_mode.h> | 67 | #include <uapi/drm/drm_mode.h> |
diff --git a/include/linux/isdnif.h b/include/linux/isdnif.h index 0fc6ff276221..8d80fdc68647 100644 --- a/include/linux/isdnif.h +++ b/include/linux/isdnif.h | |||
@@ -500,6 +500,6 @@ typedef struct { | |||
500 | * | 500 | * |
501 | */ | 501 | */ |
502 | extern int register_isdn(isdn_if*); | 502 | extern int register_isdn(isdn_if*); |
503 | #include <asm/uaccess.h> | 503 | #include <linux/uaccess.h> |
504 | 504 | ||
505 | #endif /* __ISDNIF_H__ */ | 505 | #endif /* __ISDNIF_H__ */ |
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 7dbe9148b2f8..f29f80f81dbf 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/list.h> | 9 | #include <linux/list.h> |
10 | #include <linux/highmem.h> | 10 | #include <linux/highmem.h> |
11 | #include <linux/compiler.h> | 11 | #include <linux/compiler.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | #include <linux/gfp.h> | 13 | #include <linux/gfp.h> |
14 | #include <linux/bitops.h> | 14 | #include <linux/bitops.h> |
15 | #include <linux/hardirq.h> /* for in_interrupt() */ | 15 | #include <linux/hardirq.h> /* for in_interrupt() */ |
diff --git a/include/linux/poll.h b/include/linux/poll.h index 37b057b63b46..a46d6755035e 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
9 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
10 | #include <linux/sysctl.h> | 10 | #include <linux/sysctl.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <uapi/linux/poll.h> | 12 | #include <uapi/linux/poll.h> |
13 | 13 | ||
14 | extern struct ctl_table epoll_table[]; /* for sysctl */ | 14 | extern struct ctl_table epoll_table[]; /* for sysctl */ |
diff --git a/include/net/checksum.h b/include/net/checksum.h index 5c30891e84e5..35d0fabd2782 100644 --- a/include/net/checksum.h +++ b/include/net/checksum.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
23 | #include <asm/types.h> | 23 | #include <asm/types.h> |
24 | #include <asm/byteorder.h> | 24 | #include <asm/byteorder.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/checksum.h> | 26 | #include <asm/checksum.h> |
27 | 27 | ||
28 | #ifndef _HAVE_ARCH_COPY_AND_CSUM_FROM_USER | 28 | #ifndef _HAVE_ARCH_COPY_AND_CSUM_FROM_USER |
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index f0dcaebebddb..d8833a86cd7e 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -69,7 +69,7 @@ | |||
69 | #include <net/ip6_route.h> | 69 | #include <net/ip6_route.h> |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | #include <asm/uaccess.h> | 72 | #include <linux/uaccess.h> |
73 | #include <asm/page.h> | 73 | #include <asm/page.h> |
74 | #include <net/sock.h> | 74 | #include <net/sock.h> |
75 | #include <net/snmp.h> | 75 | #include <net/snmp.h> |
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 8029d2a51f14..958a24d8fae7 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -59,7 +59,7 @@ | |||
59 | #include <linux/if_link.h> | 59 | #include <linux/if_link.h> |
60 | #include <linux/atomic.h> | 60 | #include <linux/atomic.h> |
61 | #include <linux/mmu_notifier.h> | 61 | #include <linux/mmu_notifier.h> |
62 | #include <asm/uaccess.h> | 62 | #include <linux/uaccess.h> |
63 | 63 | ||
64 | extern struct workqueue_struct *ib_wq; | 64 | extern struct workqueue_struct *ib_wq; |
65 | extern struct workqueue_struct *ib_comp_wq; | 65 | extern struct workqueue_struct *ib_comp_wq; |
diff --git a/init/init_task.c b/init/init_task.c index 11f83be1fa79..53d4ce942a88 100644 --- a/init/init_task.c +++ b/init/init_task.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
10 | 10 | ||
11 | #include <asm/pgtable.h> | 11 | #include <asm/pgtable.h> |
12 | #include <asm/uaccess.h> | 12 | #include <linux/uaccess.h> |
13 | 13 | ||
14 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 14 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
15 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 15 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
diff --git a/kernel/capability.c b/kernel/capability.c index 4984e1f552eb..a98e814f216f 100644 --- a/kernel/capability.c +++ b/kernel/capability.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/syscalls.h> | 17 | #include <linux/syscalls.h> |
18 | #include <linux/pid_namespace.h> | 18 | #include <linux/pid_namespace.h> |
19 | #include <linux/user_namespace.h> | 19 | #include <linux/user_namespace.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Leveraged for setting/resetting capabilities | 23 | * Leveraged for setting/resetting capabilities |
diff --git a/kernel/compat.c b/kernel/compat.c index b3a047f208a7..19aec5d98108 100644 --- a/kernel/compat.c +++ b/kernel/compat.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/ptrace.h> | 28 | #include <linux/ptrace.h> |
29 | #include <linux/gfp.h> | 29 | #include <linux/gfp.h> |
30 | 30 | ||
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp) | 33 | static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp) |
34 | { | 34 | { |
diff --git a/kernel/configs.c b/kernel/configs.c index c18b1f1ae515..2df132b20217 100644 --- a/kernel/configs.c +++ b/kernel/configs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/proc_fs.h> | 28 | #include <linux/proc_fs.h> |
29 | #include <linux/seq_file.h> | 29 | #include <linux/seq_file.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | 32 | ||
33 | /**************************************************/ | 33 | /**************************************************/ |
34 | /* the actual current config file */ | 34 | /* the actual current config file */ |
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 29f815d2ef7e..b3088886cd37 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #include <linux/backing-dev.h> | 55 | #include <linux/backing-dev.h> |
56 | #include <linux/sort.h> | 56 | #include <linux/sort.h> |
57 | 57 | ||
58 | #include <asm/uaccess.h> | 58 | #include <linux/uaccess.h> |
59 | #include <linux/atomic.h> | 59 | #include <linux/atomic.h> |
60 | #include <linux/mutex.h> | 60 | #include <linux/mutex.h> |
61 | #include <linux/cgroup.h> | 61 | #include <linux/cgroup.h> |
diff --git a/kernel/exit.c b/kernel/exit.c index aacff8e2aec0..8f14b866f9f6 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <linux/kcov.h> | 56 | #include <linux/kcov.h> |
57 | #include <linux/random.h> | 57 | #include <linux/random.h> |
58 | 58 | ||
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | #include <asm/unistd.h> | 60 | #include <asm/unistd.h> |
61 | #include <asm/pgtable.h> | 61 | #include <asm/pgtable.h> |
62 | #include <asm/mmu_context.h> | 62 | #include <asm/mmu_context.h> |
diff --git a/kernel/extable.c b/kernel/extable.c index e820ccee9846..e3beec4a2339 100644 --- a/kernel/extable.c +++ b/kernel/extable.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | 23 | ||
24 | #include <asm/sections.h> | 24 | #include <asm/sections.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * mutex protecting text section modification (dynamic code patching). | 28 | * mutex protecting text section modification (dynamic code patching). |
diff --git a/kernel/fork.c b/kernel/fork.c index 869b8ccc00bf..11c5c8ab827c 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -79,7 +79,7 @@ | |||
79 | 79 | ||
80 | #include <asm/pgtable.h> | 80 | #include <asm/pgtable.h> |
81 | #include <asm/pgalloc.h> | 81 | #include <asm/pgalloc.h> |
82 | #include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | #include <asm/mmu_context.h> | 83 | #include <asm/mmu_context.h> |
84 | #include <asm/cacheflush.h> | 84 | #include <asm/cacheflush.h> |
85 | #include <asm/tlbflush.h> | 85 | #include <asm/tlbflush.h> |
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c index 4ae3232e7a28..3f409968e466 100644 --- a/kernel/futex_compat.c +++ b/kernel/futex_compat.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/ptrace.h> | 13 | #include <linux/ptrace.h> |
14 | #include <linux/syscalls.h> | 14 | #include <linux/syscalls.h> |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | 18 | ||
19 | /* | 19 | /* |
diff --git a/kernel/groups.c b/kernel/groups.c index 2fcadd66a8fd..8dd7a61b7115 100644 --- a/kernel/groups.c +++ b/kernel/groups.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <linux/syscalls.h> | 8 | #include <linux/syscalls.h> |
9 | #include <linux/user_namespace.h> | 9 | #include <linux/user_namespace.h> |
10 | #include <linux/vmalloc.h> | 10 | #include <linux/vmalloc.h> |
11 | #include <asm/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | 12 | ||
13 | struct group_info *groups_alloc(int gidsetsize) | 13 | struct group_info *groups_alloc(int gidsetsize) |
14 | { | 14 | { |
diff --git a/kernel/kmod.c b/kernel/kmod.c index 0277d1216f80..d45c96073afb 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/rwsem.h> | 39 | #include <linux/rwsem.h> |
40 | #include <linux/ptrace.h> | 40 | #include <linux/ptrace.h> |
41 | #include <linux/async.h> | 41 | #include <linux/async.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | 43 | ||
44 | #include <trace/events/module.h> | 44 | #include <trace/events/module.h> |
45 | 45 | ||
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index d63095472ea9..43460104f119 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <asm/sections.h> | 52 | #include <asm/sections.h> |
53 | #include <asm/cacheflush.h> | 53 | #include <asm/cacheflush.h> |
54 | #include <asm/errno.h> | 54 | #include <asm/errno.h> |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | #define KPROBE_HASH_BITS 6 | 57 | #define KPROBE_HASH_BITS 6 |
58 | #define KPROBE_TABLE_SIZE (1 << KPROBE_HASH_BITS) | 58 | #define KPROBE_TABLE_SIZE (1 << KPROBE_HASH_BITS) |
diff --git a/kernel/locking/lockdep_proc.c b/kernel/locking/lockdep_proc.c index a0f61effad25..6d1fcc786081 100644 --- a/kernel/locking/lockdep_proc.c +++ b/kernel/locking/lockdep_proc.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/debug_locks.h> | 18 | #include <linux/debug_locks.h> |
19 | #include <linux/vmalloc.h> | 19 | #include <linux/vmalloc.h> |
20 | #include <linux/sort.h> | 20 | #include <linux/sort.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include <asm/div64.h> | 22 | #include <asm/div64.h> |
23 | 23 | ||
24 | #include "lockdep_internals.h" | 24 | #include "lockdep_internals.h" |
diff --git a/kernel/module.c b/kernel/module.c index f7482db0f843..5088784c0cf9 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/string.h> | 46 | #include <linux/string.h> |
47 | #include <linux/mutex.h> | 47 | #include <linux/mutex.h> |
48 | #include <linux/rculist.h> | 48 | #include <linux/rculist.h> |
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <asm/cacheflush.h> | 50 | #include <asm/cacheflush.h> |
51 | #include <asm/mmu_context.h> | 51 | #include <asm/mmu_context.h> |
52 | #include <linux/license.h> | 52 | #include <linux/license.h> |
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index 4f0f0604f1c4..2d8e2b227db8 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/compiler.h> | 30 | #include <linux/compiler.h> |
31 | #include <linux/ktime.h> | 31 | #include <linux/ktime.h> |
32 | 32 | ||
33 | #include <asm/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <asm/mmu_context.h> | 34 | #include <asm/mmu_context.h> |
35 | #include <asm/pgtable.h> | 35 | #include <asm/pgtable.h> |
36 | #include <asm/tlbflush.h> | 36 | #include <asm/tlbflush.h> |
diff --git a/kernel/power/user.c b/kernel/power/user.c index 35310b627388..22df9f7ff672 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/cpu.h> | 25 | #include <linux/cpu.h> |
26 | #include <linux/freezer.h> | 26 | #include <linux/freezer.h> |
27 | 27 | ||
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | 29 | ||
30 | #include "power.h" | 30 | #include "power.h" |
31 | 31 | ||
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index e2cdd87e7a63..8b2696420abb 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <linux/ctype.h> | 46 | #include <linux/ctype.h> |
47 | #include <linux/uio.h> | 47 | #include <linux/uio.h> |
48 | 48 | ||
49 | #include <asm/uaccess.h> | 49 | #include <linux/uaccess.h> |
50 | #include <asm/sections.h> | 50 | #include <asm/sections.h> |
51 | 51 | ||
52 | #define CREATE_TRACE_POINTS | 52 | #define CREATE_TRACE_POINTS |
diff --git a/kernel/profile.c b/kernel/profile.c index 2dbccf2d806c..f67ce0aa6bc4 100644 --- a/kernel/profile.c +++ b/kernel/profile.c | |||
@@ -408,7 +408,7 @@ void profile_tick(int type) | |||
408 | #ifdef CONFIG_PROC_FS | 408 | #ifdef CONFIG_PROC_FS |
409 | #include <linux/proc_fs.h> | 409 | #include <linux/proc_fs.h> |
410 | #include <linux/seq_file.h> | 410 | #include <linux/seq_file.h> |
411 | #include <asm/uaccess.h> | 411 | #include <linux/uaccess.h> |
412 | 412 | ||
413 | static int prof_cpu_mask_proc_show(struct seq_file *m, void *v) | 413 | static int prof_cpu_mask_proc_show(struct seq_file *m, void *v) |
414 | { | 414 | { |
diff --git a/kernel/signal.c b/kernel/signal.c index ae60996fedff..f5d4e275345e 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <trace/events/signal.h> | 39 | #include <trace/events/signal.h> |
40 | 40 | ||
41 | #include <asm/param.h> | 41 | #include <asm/param.h> |
42 | #include <asm/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <asm/unistd.h> | 43 | #include <asm/unistd.h> |
44 | #include <asm/siginfo.h> | 44 | #include <asm/siginfo.h> |
45 | #include <asm/cacheflush.h> | 45 | #include <asm/cacheflush.h> |
diff --git a/kernel/sys.c b/kernel/sys.c index 9758892a2d09..842914ef7de4 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -57,7 +57,7 @@ | |||
57 | /* Move somewhere else to avoid recompiling? */ | 57 | /* Move somewhere else to avoid recompiling? */ |
58 | #include <generated/utsrelease.h> | 58 | #include <generated/utsrelease.h> |
59 | 59 | ||
60 | #include <asm/uaccess.h> | 60 | #include <linux/uaccess.h> |
61 | #include <asm/io.h> | 61 | #include <asm/io.h> |
62 | #include <asm/unistd.h> | 62 | #include <asm/unistd.h> |
63 | 63 | ||
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 1a292ebcbbb6..8dbaec0e4f7f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include <linux/bpf.h> | 67 | #include <linux/bpf.h> |
68 | #include <linux/mount.h> | 68 | #include <linux/mount.h> |
69 | 69 | ||
70 | #include <asm/uaccess.h> | 70 | #include <linux/uaccess.h> |
71 | #include <asm/processor.h> | 71 | #include <asm/processor.h> |
72 | 72 | ||
73 | #ifdef CONFIG_X86 | 73 | #ifdef CONFIG_X86 |
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 08be5c99d26b..161e340395d5 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/timer.h> | 50 | #include <linux/timer.h> |
51 | #include <linux/freezer.h> | 51 | #include <linux/freezer.h> |
52 | 52 | ||
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | 54 | ||
55 | #include <trace/events/timer.h> | 55 | #include <trace/events/timer.h> |
56 | 56 | ||
diff --git a/kernel/time/itimer.c b/kernel/time/itimer.c index 2b9f45bc955d..a45afb7277c2 100644 --- a/kernel/time/itimer.c +++ b/kernel/time/itimer.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/hrtimer.h> | 14 | #include <linux/hrtimer.h> |
15 | #include <trace/events/timer.h> | 15 | #include <trace/events/timer.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * itimer_get_remtime - get remaining time for the timer | 20 | * itimer_get_remtime - get remaining time for the timer |
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index f246763c9947..e9e8c10f0d9a 100644 --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <linux/posix-timers.h> | 6 | #include <linux/posix-timers.h> |
7 | #include <linux/errno.h> | 7 | #include <linux/errno.h> |
8 | #include <linux/math64.h> | 8 | #include <linux/math64.h> |
9 | #include <asm/uaccess.h> | 9 | #include <linux/uaccess.h> |
10 | #include <linux/kernel_stat.h> | 10 | #include <linux/kernel_stat.h> |
11 | #include <trace/events/timer.h> | 11 | #include <trace/events/timer.h> |
12 | #include <linux/tick.h> | 12 | #include <linux/tick.h> |
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c index f2826c35e918..42d7b9558741 100644 --- a/kernel/time/posix-timers.c +++ b/kernel/time/posix-timers.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/time.h> | 36 | #include <linux/time.h> |
37 | #include <linux/mutex.h> | 37 | #include <linux/mutex.h> |
38 | 38 | ||
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <linux/list.h> | 40 | #include <linux/list.h> |
41 | #include <linux/init.h> | 41 | #include <linux/init.h> |
42 | #include <linux/compiler.h> | 42 | #include <linux/compiler.h> |
diff --git a/kernel/time/time.c b/kernel/time/time.c index bd62fb8e8e77..a3a9a8a029dc 100644 --- a/kernel/time/time.c +++ b/kernel/time/time.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/math64.h> | 38 | #include <linux/math64.h> |
39 | #include <linux/ptrace.h> | 39 | #include <linux/ptrace.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include <asm/unistd.h> | 42 | #include <asm/unistd.h> |
43 | 43 | ||
44 | #include <generated/timeconst.h> | 44 | #include <generated/timeconst.h> |
diff --git a/kernel/time/timer.c b/kernel/time/timer.c index ea4fbf8477a9..ec33a6933eae 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
44 | #include <linux/compat.h> | 44 | #include <linux/compat.h> |
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <asm/unistd.h> | 47 | #include <asm/unistd.h> |
48 | #include <asm/div64.h> | 48 | #include <asm/div64.h> |
49 | #include <asm/timex.h> | 49 | #include <asm/timex.h> |
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index ba7d8b288bb3..afe6cd1944fc 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/kallsyms.h> | 18 | #include <linux/kallsyms.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | 21 | ||
22 | #include "tick-internal.h" | 22 | #include "tick-internal.h" |
23 | 23 | ||
diff --git a/kernel/time/timer_stats.c b/kernel/time/timer_stats.c index 087204c733eb..afddded947df 100644 --- a/kernel/time/timer_stats.c +++ b/kernel/time/timer_stats.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/seq_file.h> | 43 | #include <linux/seq_file.h> |
44 | #include <linux/kallsyms.h> | 44 | #include <linux/kallsyms.h> |
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * This is our basic unit of interest: a timer expiry event identified | 49 | * This is our basic unit of interest: a timer expiry event identified |
diff --git a/kernel/uid16.c b/kernel/uid16.c index cc40793464e3..71645ae9303a 100644 --- a/kernel/uid16.c +++ b/kernel/uid16.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/security.h> | 14 | #include <linux/security.h> |
15 | #include <linux/syscalls.h> | 15 | #include <linux/syscalls.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | 18 | ||
19 | SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) | 19 | SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) |
20 | { | 20 | { |
diff --git a/lib/extable.c b/lib/extable.c index 0be02ad561e9..62968daa66a9 100644 --- a/lib/extable.c +++ b/lib/extable.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/sort.h> | 14 | #include <linux/sort.h> |
15 | #include <asm/uaccess.h> | 15 | #include <linux/uaccess.h> |
16 | 16 | ||
17 | #ifndef ARCH_HAS_RELATIVE_EXTABLE | 17 | #ifndef ARCH_HAS_RELATIVE_EXTABLE |
18 | #define ex_to_insn(x) ((x)->insn) | 18 | #define ex_to_insn(x) ((x)->insn) |
diff --git a/lib/kstrtox.c b/lib/kstrtox.c index b8e2080c1a47..bf85e05ce858 100644 --- a/lib/kstrtox.c +++ b/lib/kstrtox.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/math64.h> | 17 | #include <linux/math64.h> |
18 | #include <linux/export.h> | 18 | #include <linux/export.h> |
19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include "kstrtox.h" | 21 | #include "kstrtox.h" |
22 | 22 | ||
23 | const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) | 23 | const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) |
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 175ec51c346d..4048897e7b01 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <net/ip.h> | 68 | #include <net/ip.h> |
69 | #include "slab.h" | 69 | #include "slab.h" |
70 | 70 | ||
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | 72 | ||
73 | #include <trace/events/vmscan.h> | 73 | #include <trace/events/vmscan.h> |
74 | 74 | ||
diff --git a/mm/memory.c b/mm/memory.c index 455c3e628d52..7d23b5050248 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -68,7 +68,7 @@ | |||
68 | #include <asm/io.h> | 68 | #include <asm/io.h> |
69 | #include <asm/mmu_context.h> | 69 | #include <asm/mmu_context.h> |
70 | #include <asm/pgalloc.h> | 70 | #include <asm/pgalloc.h> |
71 | #include <asm/uaccess.h> | 71 | #include <linux/uaccess.h> |
72 | #include <asm/tlb.h> | 72 | #include <asm/tlb.h> |
73 | #include <asm/tlbflush.h> | 73 | #include <asm/tlbflush.h> |
74 | #include <asm/pgtable.h> | 74 | #include <asm/pgtable.h> |
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 6d3639e1f254..2e346645eb80 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -96,7 +96,7 @@ | |||
96 | #include <linux/printk.h> | 96 | #include <linux/printk.h> |
97 | 97 | ||
98 | #include <asm/tlbflush.h> | 98 | #include <asm/tlbflush.h> |
99 | #include <asm/uaccess.h> | 99 | #include <linux/uaccess.h> |
100 | 100 | ||
101 | #include "internal.h" | 101 | #include "internal.h" |
102 | 102 | ||
diff --git a/mm/mincore.c b/mm/mincore.c index bfb866435478..ddb872da3f5b 100644 --- a/mm/mincore.c +++ b/mm/mincore.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/swapops.h> | 16 | #include <linux/swapops.h> |
17 | #include <linux/hugetlb.h> | 17 | #include <linux/hugetlb.h> |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <asm/pgtable.h> | 20 | #include <asm/pgtable.h> |
21 | 21 | ||
22 | static int mincore_hugetlb(pte_t *pte, unsigned long hmask, unsigned long addr, | 22 | static int mincore_hugetlb(pte_t *pte, unsigned long hmask, unsigned long addr, |
@@ -45,7 +45,7 @@ | |||
45 | #include <linux/moduleparam.h> | 45 | #include <linux/moduleparam.h> |
46 | #include <linux/pkeys.h> | 46 | #include <linux/pkeys.h> |
47 | 47 | ||
48 | #include <asm/uaccess.h> | 48 | #include <linux/uaccess.h> |
49 | #include <asm/cacheflush.h> | 49 | #include <asm/cacheflush.h> |
50 | #include <asm/tlb.h> | 50 | #include <asm/tlb.h> |
51 | #include <asm/mmu_context.h> | 51 | #include <asm/mmu_context.h> |
diff --git a/mm/mprotect.c b/mm/mprotect.c index cc2459c57f60..f9c07f54dd62 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/perf_event.h> | 25 | #include <linux/perf_event.h> |
26 | #include <linux/pkeys.h> | 26 | #include <linux/pkeys.h> |
27 | #include <linux/ksm.h> | 27 | #include <linux/ksm.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
30 | #include <asm/cacheflush.h> | 30 | #include <asm/cacheflush.h> |
31 | #include <asm/mmu_context.h> | 31 | #include <asm/mmu_context.h> |
diff --git a/mm/nommu.c b/mm/nommu.c index 210d7ec2843c..24f9f5f39145 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/audit.h> | 35 | #include <linux/audit.h> |
36 | #include <linux/printk.h> | 36 | #include <linux/printk.h> |
37 | 37 | ||
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | #include <asm/tlb.h> | 39 | #include <asm/tlb.h> |
40 | #include <asm/tlbflush.h> | 40 | #include <asm/tlbflush.h> |
41 | #include <asm/mmu_context.h> | 41 | #include <asm/mmu_context.h> |
diff --git a/mm/shmem.c b/mm/shmem.c index b1b20dc63265..bb53285a1d99 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -71,7 +71,7 @@ static struct vfsmount *shm_mnt; | |||
71 | #include <linux/fcntl.h> | 71 | #include <linux/fcntl.h> |
72 | #include <uapi/linux/memfd.h> | 72 | #include <uapi/linux/memfd.h> |
73 | 73 | ||
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | #include <asm/pgtable.h> | 75 | #include <asm/pgtable.h> |
76 | 76 | ||
77 | #include "internal.h" | 77 | #include "internal.h" |
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/vmalloc.h> | 13 | #include <linux/vmalloc.h> |
14 | 14 | ||
15 | #include <asm/sections.h> | 15 | #include <asm/sections.h> |
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | 17 | ||
18 | #include "internal.h" | 18 | #include "internal.h" |
19 | 19 | ||
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index a5584384eabc..3ca82d44edd3 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/llist.h> | 32 | #include <linux/llist.h> |
33 | #include <linux/bitops.h> | 33 | #include <linux/bitops.h> |
34 | 34 | ||
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <asm/tlbflush.h> | 36 | #include <asm/tlbflush.h> |
37 | #include <asm/shmparam.h> | 37 | #include <asm/shmparam.h> |
38 | 38 | ||
diff --git a/net/802/fc.c b/net/802/fc.c index 7b9219022418..1bb496ea997e 100644 --- a/net/802/fc.c +++ b/net/802/fc.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * v 1.0 03/22/99 | 10 | * v 1.0 03/22/99 |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <asm/uaccess.h> | 13 | #include <linux/uaccess.h> |
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/string.h> | 16 | #include <linux/string.h> |
diff --git a/net/802/hippi.c b/net/802/hippi.c index 5e4427beab2b..4460606e9c36 100644 --- a/net/802/hippi.c +++ b/net/802/hippi.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/errno.h> | 34 | #include <linux/errno.h> |
35 | #include <net/arp.h> | 35 | #include <net/arp.h> |
36 | #include <net/sock.h> | 36 | #include <net/sock.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | /* | 39 | /* |
40 | * Create the HIPPI MAC header for an arbitrary protocol layer | 40 | * Create the HIPPI MAC header for an arbitrary protocol layer |
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 691f0ad7067d..467069b73ce1 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <net/rtnetlink.h> | 34 | #include <net/rtnetlink.h> |
35 | #include <net/net_namespace.h> | 35 | #include <net/net_namespace.h> |
36 | #include <net/netns/generic.h> | 36 | #include <net/netns/generic.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | 38 | ||
39 | #include <linux/if_vlan.h> | 39 | #include <linux/if_vlan.h> |
40 | #include "vlan.h" | 40 | #include "vlan.h" |
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 2fdebabbfacd..90fcf5fc2e0a 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/if_arp.h> | 32 | #include <linux/if_arp.h> |
33 | #include <linux/skbuff.h> | 33 | #include <linux/skbuff.h> |
34 | #include <net/sock.h> | 34 | #include <net/sock.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/fcntl.h> | 36 | #include <linux/fcntl.h> |
37 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ | 37 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ |
38 | #include <linux/mm.h> | 38 | #include <linux/mm.h> |
diff --git a/net/ax25/ax25_addr.c b/net/ax25/ax25_addr.c index e7c9b0ea17a1..ac2542b7be88 100644 --- a/net/ax25/ax25_addr.c +++ b/net/ax25/ax25_addr.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/netdevice.h> | 21 | #include <linux/netdevice.h> |
22 | #include <linux/skbuff.h> | 22 | #include <linux/skbuff.h> |
23 | #include <net/sock.h> | 23 | #include <net/sock.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <linux/fcntl.h> | 25 | #include <linux/fcntl.h> |
26 | #include <linux/mm.h> | 26 | #include <linux/mm.h> |
27 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_dev.c b/net/ax25/ax25_dev.c index 3d106767b272..9a3a301e1e2f 100644 --- a/net/ax25/ax25_dev.c +++ b/net/ax25/ax25_dev.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/if_arp.h> | 23 | #include <linux/if_arp.h> |
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <net/sock.h> | 25 | #include <net/sock.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/fcntl.h> | 27 | #include <linux/fcntl.h> |
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_ds_in.c b/net/ax25/ax25_ds_in.c index 9bd31e88aeca..891596e74278 100644 --- a/net/ax25/ax25_ds_in.c +++ b/net/ax25/ax25_ds_in.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/skbuff.h> | 22 | #include <linux/skbuff.h> |
23 | #include <net/sock.h> | 23 | #include <net/sock.h> |
24 | #include <net/tcp_states.h> | 24 | #include <net/tcp_states.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <linux/fcntl.h> | 26 | #include <linux/fcntl.h> |
27 | #include <linux/mm.h> | 27 | #include <linux/mm.h> |
28 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_ds_subr.c b/net/ax25/ax25_ds_subr.c index e05bd57b5afd..28827e81ba2b 100644 --- a/net/ax25/ax25_ds_subr.c +++ b/net/ax25/ax25_ds_subr.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/netdevice.h> | 23 | #include <linux/netdevice.h> |
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <net/sock.h> | 25 | #include <net/sock.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/fcntl.h> | 27 | #include <linux/fcntl.h> |
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_ds_timer.c b/net/ax25/ax25_ds_timer.c index 5237dff6941d..5fb2104b7304 100644 --- a/net/ax25/ax25_ds_timer.c +++ b/net/ax25/ax25_ds_timer.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/netdevice.h> | 24 | #include <linux/netdevice.h> |
25 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/fcntl.h> | 28 | #include <linux/fcntl.h> |
29 | #include <linux/mm.h> | 29 | #include <linux/mm.h> |
30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_iface.c b/net/ax25/ax25_iface.c index 7f16e8a931b2..8c07c28569e4 100644 --- a/net/ax25/ax25_iface.c +++ b/net/ax25/ax25_iface.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/netdevice.h> | 23 | #include <linux/netdevice.h> |
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <net/sock.h> | 25 | #include <net/sock.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/fcntl.h> | 27 | #include <linux/fcntl.h> |
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c index bb5a0e4e98d9..860752639b1a 100644 --- a/net/ax25/ax25_in.c +++ b/net/ax25/ax25_in.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <net/tcp_states.h> | 27 | #include <net/tcp_states.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_ip.c b/net/ax25/ax25_ip.c index 2fa3be965101..183b1c583d56 100644 --- a/net/ax25/ax25_ip.c +++ b/net/ax25/ax25_ip.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/if_arp.h> | 23 | #include <linux/if_arp.h> |
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <net/sock.h> | 25 | #include <net/sock.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/fcntl.h> | 27 | #include <linux/fcntl.h> |
28 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ | 28 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ |
29 | #include <linux/mm.h> | 29 | #include <linux/mm.h> |
diff --git a/net/ax25/ax25_out.c b/net/ax25/ax25_out.c index 8ddd41baa81c..b11a5f466fcc 100644 --- a/net/ax25/ax25_out.c +++ b/net/ax25/ax25_out.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/netdevice.h> | 25 | #include <linux/netdevice.h> |
26 | #include <linux/skbuff.h> | 26 | #include <linux/skbuff.h> |
27 | #include <net/sock.h> | 27 | #include <net/sock.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index d39097737e38..e1fda27cb27c 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/skbuff.h> | 31 | #include <linux/skbuff.h> |
32 | #include <linux/spinlock.h> | 32 | #include <linux/spinlock.h> |
33 | #include <net/sock.h> | 33 | #include <net/sock.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/fcntl.h> | 35 | #include <linux/fcntl.h> |
36 | #include <linux/mm.h> | 36 | #include <linux/mm.h> |
37 | #include <linux/interrupt.h> | 37 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_std_in.c b/net/ax25/ax25_std_in.c index 3fbf8f7b2cf4..8632b86e843e 100644 --- a/net/ax25/ax25_std_in.c +++ b/net/ax25/ax25_std_in.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/skbuff.h> | 29 | #include <linux/skbuff.h> |
30 | #include <net/sock.h> | 30 | #include <net/sock.h> |
31 | #include <net/tcp_states.h> | 31 | #include <net/tcp_states.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/fcntl.h> | 33 | #include <linux/fcntl.h> |
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_std_subr.c b/net/ax25/ax25_std_subr.c index 8b66a41e538f..94bd06396a43 100644 --- a/net/ax25/ax25_std_subr.c +++ b/net/ax25/ax25_std_subr.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
21 | #include <linux/skbuff.h> | 21 | #include <linux/skbuff.h> |
22 | #include <net/sock.h> | 22 | #include <net/sock.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/fcntl.h> | 24 | #include <linux/fcntl.h> |
25 | #include <linux/mm.h> | 25 | #include <linux/mm.h> |
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_std_timer.c b/net/ax25/ax25_std_timer.c index 2c0d6ef66f9d..30bbc675261d 100644 --- a/net/ax25/ax25_std_timer.c +++ b/net/ax25/ax25_std_timer.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <net/sock.h> | 25 | #include <net/sock.h> |
26 | #include <net/tcp_states.h> | 26 | #include <net/tcp_states.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/fcntl.h> | 28 | #include <linux/fcntl.h> |
29 | #include <linux/mm.h> | 29 | #include <linux/mm.h> |
30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_subr.c b/net/ax25/ax25_subr.c index 655a7d4c96e1..4855d18a8511 100644 --- a/net/ax25/ax25_subr.c +++ b/net/ax25/ax25_subr.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <net/tcp_states.h> | 27 | #include <net/tcp_states.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_timer.c b/net/ax25/ax25_timer.c index c3cffa79bafb..23a6f38a80bf 100644 --- a/net/ax25/ax25_timer.c +++ b/net/ax25/ax25_timer.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/netdevice.h> | 28 | #include <linux/netdevice.h> |
29 | #include <linux/skbuff.h> | 29 | #include <linux/skbuff.h> |
30 | #include <net/sock.h> | 30 | #include <net/sock.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/fcntl.h> | 32 | #include <linux/fcntl.h> |
33 | #include <linux/mm.h> | 33 | #include <linux/mm.h> |
34 | #include <linux/interrupt.h> | 34 | #include <linux/interrupt.h> |
diff --git a/net/ax25/ax25_uid.c b/net/ax25/ax25_uid.c index 4ad2fb7bcd35..0403b0def7e6 100644 --- a/net/ax25/ax25_uid.c +++ b/net/ax25/ax25_uid.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/if_arp.h> | 25 | #include <linux/if_arp.h> |
26 | #include <linux/skbuff.h> | 26 | #include <linux/skbuff.h> |
27 | #include <net/sock.h> | 27 | #include <net/sock.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
30 | #include <linux/mm.h> | 30 | #include <linux/mm.h> |
31 | #include <linux/interrupt.h> | 31 | #include <linux/interrupt.h> |
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index bca5ead3e973..ed3b3192fb00 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/list.h> | 19 | #include <linux/list.h> |
20 | #include <linux/netfilter_bridge.h> | 20 | #include <linux/netfilter_bridge.h> |
21 | 21 | ||
22 | #include <asm/uaccess.h> | 22 | #include <linux/uaccess.h> |
23 | #include "br_private.h" | 23 | #include "br_private.h" |
24 | 24 | ||
25 | #define COMMON_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | \ | 25 | #define COMMON_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_HIGHDMA | \ |
diff --git a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c index d99b2009771a..da8157c57eb1 100644 --- a/net/bridge/br_ioctl.c +++ b/net/bridge/br_ioctl.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <linux/times.h> | 19 | #include <linux/times.h> |
20 | #include <net/net_namespace.h> | 20 | #include <net/net_namespace.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include "br_private.h" | 22 | #include "br_private.h" |
23 | 23 | ||
24 | static int get_bridge_ifindices(struct net *net, int *indices, int num) | 24 | static int get_bridge_ifindices(struct net *net, int *indices, int num) |
diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c index b12501a77f18..8ca6a929bf12 100644 --- a/net/bridge/br_netfilter_hooks.c +++ b/net/bridge/br_netfilter_hooks.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <net/netfilter/br_netfilter.h> | 40 | #include <net/netfilter/br_netfilter.h> |
41 | #include <net/netns/generic.h> | 41 | #include <net/netns/generic.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include "br_private.h" | 44 | #include "br_private.h" |
45 | #ifdef CONFIG_SYSCTL | 45 | #ifdef CONFIG_SYSCTL |
46 | #include <linux/sysctl.h> | 46 | #include <linux/sysctl.h> |
diff --git a/net/bridge/br_netfilter_ipv6.c b/net/bridge/br_netfilter_ipv6.c index 5989661c659f..96c072e71ea2 100644 --- a/net/bridge/br_netfilter_ipv6.c +++ b/net/bridge/br_netfilter_ipv6.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <net/route.h> | 38 | #include <net/route.h> |
39 | #include <net/netfilter/br_netfilter.h> | 39 | #include <net/netfilter/br_netfilter.h> |
40 | 40 | ||
41 | #include <asm/uaccess.h> | 41 | #include <linux/uaccess.h> |
42 | #include "br_private.h" | 42 | #include "br_private.h" |
43 | #ifdef CONFIG_SYSCTL | 43 | #ifdef CONFIG_SYSCTL |
44 | #include <linux/sysctl.h> | 44 | #include <linux/sysctl.h> |
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index 1ab6014cf0f8..537e3d506fc2 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
24 | #include <linux/mutex.h> | 24 | #include <linux/mutex.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/smp.h> | 27 | #include <linux/smp.h> |
28 | #include <linux/cpumask.h> | 28 | #include <linux/cpumask.h> |
29 | #include <linux/audit.h> | 29 | #include <linux/audit.h> |
diff --git a/net/compat.c b/net/compat.c index 1cd2ec046164..96c544b05b15 100644 --- a/net/compat.c +++ b/net/compat.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <net/sock.h> | 28 | #include <net/sock.h> |
29 | #include <net/ip.h> | 29 | #include <net/ip.h> |
30 | #include <net/ipv6.h> | 30 | #include <net/ipv6.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <net/compat.h> | 32 | #include <net/compat.h> |
33 | 33 | ||
34 | int get_compat_msghdr(struct msghdr *kmsg, | 34 | int get_compat_msghdr(struct msghdr *kmsg, |
diff --git a/net/core/datagram.c b/net/core/datagram.c index 9482037a5c8c..662bea587165 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/module.h> | 36 | #include <linux/module.h> |
37 | #include <linux/types.h> | 37 | #include <linux/types.h> |
38 | #include <linux/kernel.h> | 38 | #include <linux/kernel.h> |
39 | #include <asm/uaccess.h> | 39 | #include <linux/uaccess.h> |
40 | #include <linux/mm.h> | 40 | #include <linux/mm.h> |
41 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
42 | #include <linux/errno.h> | 42 | #include <linux/errno.h> |
diff --git a/net/core/dev.c b/net/core/dev.c index 6372117f653f..037ffd27fcc2 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -72,7 +72,7 @@ | |||
72 | * - netif_rx() feedback | 72 | * - netif_rx() feedback |
73 | */ | 73 | */ |
74 | 74 | ||
75 | #include <asm/uaccess.h> | 75 | #include <linux/uaccess.h> |
76 | #include <linux/bitops.h> | 76 | #include <linux/bitops.h> |
77 | #include <linux/capability.h> | 77 | #include <linux/capability.h> |
78 | #include <linux/cpu.h> | 78 | #include <linux/cpu.h> |
diff --git a/net/core/filter.c b/net/core/filter.c index 7190bd648154..e6c412b94dec 100644 --- a/net/core/filter.c +++ b/net/core/filter.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <net/flow_dissector.h> | 40 | #include <net/flow_dissector.h> |
41 | #include <linux/errno.h> | 41 | #include <linux/errno.h> |
42 | #include <linux/timer.h> | 42 | #include <linux/timer.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
45 | #include <linux/filter.h> | 45 | #include <linux/filter.h> |
46 | #include <linux/ratelimit.h> | 46 | #include <linux/ratelimit.h> |
diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c index 101b5d0e2142..0385dece1f6f 100644 --- a/net/core/gen_estimator.c +++ b/net/core/gen_estimator.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * names to make it usable in general net subsystem. | 14 | * names to make it usable in general net subsystem. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <linux/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index c482491a63d8..18b5aae99bec 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/pci.h> | 40 | #include <linux/pci.h> |
41 | #include <linux/etherdevice.h> | 41 | #include <linux/etherdevice.h> |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include <linux/inet.h> | 45 | #include <linux/inet.h> |
46 | #include <linux/netdevice.h> | 46 | #include <linux/netdevice.h> |
diff --git a/net/core/scm.c b/net/core/scm.c index 2696aefdc148..d8820438ba37 100644 --- a/net/core/scm.c +++ b/net/core/scm.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/nsproxy.h> | 29 | #include <linux/nsproxy.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #include <net/protocol.h> | 34 | #include <net/protocol.h> |
35 | #include <linux/skbuff.h> | 35 | #include <linux/skbuff.h> |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 65a74e13c45b..e77f40616fea 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -72,7 +72,7 @@ | |||
72 | #include <net/ip6_checksum.h> | 72 | #include <net/ip6_checksum.h> |
73 | #include <net/xfrm.h> | 73 | #include <net/xfrm.h> |
74 | 74 | ||
75 | #include <asm/uaccess.h> | 75 | #include <linux/uaccess.h> |
76 | #include <trace/events/skb.h> | 76 | #include <trace/events/skb.h> |
77 | #include <linux/highmem.h> | 77 | #include <linux/highmem.h> |
78 | #include <linux/capability.h> | 78 | #include <linux/capability.h> |
diff --git a/net/core/sock.c b/net/core/sock.c index 9fa46b956bdc..f560e0826009 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -118,7 +118,7 @@ | |||
118 | #include <linux/memcontrol.h> | 118 | #include <linux/memcontrol.h> |
119 | #include <linux/prefetch.h> | 119 | #include <linux/prefetch.h> |
120 | 120 | ||
121 | #include <asm/uaccess.h> | 121 | #include <linux/uaccess.h> |
122 | 122 | ||
123 | #include <linux/netdevice.h> | 123 | #include <linux/netdevice.h> |
124 | #include <net/protocol.h> | 124 | #include <net/protocol.h> |
diff --git a/net/core/utils.c b/net/core/utils.c index cf5622b9ccc4..6592d7bbed39 100644 --- a/net/core/utils.c +++ b/net/core/utils.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <net/net_ratelimit.h> | 31 | #include <net/net_ratelimit.h> |
32 | 32 | ||
33 | #include <asm/byteorder.h> | 33 | #include <asm/byteorder.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | 35 | ||
36 | DEFINE_RATELIMIT_STATE(net_ratelimit_state, 5 * HZ, 10); | 36 | DEFINE_RATELIMIT_STATE(net_ratelimit_state, 5 * HZ, 10); |
37 | /* | 37 | /* |
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 41f803e35da3..8fdd9f492b0e 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/notifier.h> | 42 | #include <linux/notifier.h> |
43 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
44 | #include <linux/jiffies.h> | 44 | #include <linux/jiffies.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <net/net_namespace.h> | 46 | #include <net/net_namespace.h> |
47 | #include <net/neighbour.h> | 47 | #include <net/neighbour.h> |
48 | #include <net/dst.h> | 48 | #include <net/dst.h> |
diff --git a/net/decnet/dn_fib.c b/net/decnet/dn_fib.c index a796fc7cbc35..7af0ba6157a1 100644 --- a/net/decnet/dn_fib.c +++ b/net/decnet/dn_fib.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/timer.h> | 31 | #include <linux/timer.h> |
32 | #include <linux/spinlock.h> | 32 | #include <linux/spinlock.h> |
33 | #include <linux/atomic.h> | 33 | #include <linux/atomic.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <net/neighbour.h> | 35 | #include <net/neighbour.h> |
36 | #include <net/dst.h> | 36 | #include <net/dst.h> |
37 | #include <net/flow.h> | 37 | #include <net/flow.h> |
diff --git a/net/decnet/dn_table.c b/net/decnet/dn_table.c index 1540b506e3e0..232675480756 100644 --- a/net/decnet/dn_table.c +++ b/net/decnet/dn_table.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/timer.h> | 25 | #include <linux/timer.h> |
26 | #include <linux/spinlock.h> | 26 | #include <linux/spinlock.h> |
27 | #include <linux/atomic.h> | 27 | #include <linux/atomic.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/route.h> /* RTF_xxx */ | 29 | #include <linux/route.h> /* RTF_xxx */ |
30 | #include <net/neighbour.h> | 30 | #include <net/neighbour.h> |
31 | #include <net/netlink.h> | 31 | #include <net/netlink.h> |
diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c index 5325b541c526..6c7da6c29bf0 100644 --- a/net/decnet/sysctl_net_decnet.c +++ b/net/decnet/sysctl_net_decnet.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <net/dst.h> | 22 | #include <net/dst.h> |
23 | #include <net/flow.h> | 23 | #include <net/flow.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | 26 | ||
27 | #include <net/dn.h> | 27 | #include <net/dn.h> |
28 | #include <net/dn_dev.h> | 28 | #include <net/dn_dev.h> |
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 1830e6f0e9cc..f75069883f2b 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #include <linux/random.h> | 90 | #include <linux/random.h> |
91 | #include <linux/slab.h> | 91 | #include <linux/slab.h> |
92 | 92 | ||
93 | #include <asm/uaccess.h> | 93 | #include <linux/uaccess.h> |
94 | 94 | ||
95 | #include <linux/inet.h> | 95 | #include <linux/inet.h> |
96 | #include <linux/igmp.h> | 96 | #include <linux/igmp.h> |
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 062a67ca9a21..4cd2ee8857d2 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -26,7 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <linux/bitops.h> | 30 | #include <linux/bitops.h> |
31 | #include <linux/capability.h> | 31 | #include <linux/capability.h> |
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index dbad5a1c161a..3ff8938893ec 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c | |||
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <linux/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/capability.h> | 19 | #include <linux/capability.h> |
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index c1bc1e92de0e..7a5b4c7d9a87 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c | |||
@@ -13,7 +13,7 @@ | |||
13 | * 2 of the License, or (at your option) any later version. | 13 | * 2 of the License, or (at your option) any later version. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
19 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 1b0e7d1f5217..2919d1a10cfd 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c | |||
@@ -50,7 +50,7 @@ | |||
50 | 50 | ||
51 | #define VERSION "0.409" | 51 | #define VERSION "0.409" |
52 | 52 | ||
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | #include <linux/bitops.h> | 54 | #include <linux/bitops.h> |
55 | #include <linux/types.h> | 55 | #include <linux/types.h> |
56 | #include <linux/kernel.h> | 56 | #include <linux/kernel.h> |
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index f79d7a8ab1c6..0777ea949223 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -91,7 +91,7 @@ | |||
91 | #include <linux/errno.h> | 91 | #include <linux/errno.h> |
92 | #include <linux/timer.h> | 92 | #include <linux/timer.h> |
93 | #include <linux/init.h> | 93 | #include <linux/init.h> |
94 | #include <asm/uaccess.h> | 94 | #include <linux/uaccess.h> |
95 | #include <net/checksum.h> | 95 | #include <net/checksum.h> |
96 | #include <net/xfrm.h> | 96 | #include <net/xfrm.h> |
97 | #include <net/inet_common.h> | 97 | #include <net/inet_common.h> |
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 15db786d50ed..68d622133f53 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -72,7 +72,7 @@ | |||
72 | 72 | ||
73 | #include <linux/module.h> | 73 | #include <linux/module.h> |
74 | #include <linux/slab.h> | 74 | #include <linux/slab.h> |
75 | #include <asm/uaccess.h> | 75 | #include <linux/uaccess.h> |
76 | #include <linux/types.h> | 76 | #include <linux/types.h> |
77 | #include <linux/kernel.h> | 77 | #include <linux/kernel.h> |
78 | #include <linux/jiffies.h> | 78 | #include <linux/jiffies.h> |
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 78fd62048335..c9c1cb635d9a 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/skbuff.h> | 21 | #include <linux/skbuff.h> |
22 | #include <linux/netdevice.h> | 22 | #include <linux/netdevice.h> |
23 | #include <linux/in.h> | 23 | #include <linux/in.h> |
diff --git a/net/ipv4/ip_options.c b/net/ipv4/ip_options.c index 4d158ff1def1..93157f2f4758 100644 --- a/net/ipv4/ip_options.c +++ b/net/ipv4/ip_options.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include <asm/unaligned.h> | 19 | #include <asm/unaligned.h> |
20 | #include <linux/skbuff.h> | 20 | #include <linux/skbuff.h> |
21 | #include <linux/ip.h> | 21 | #include <linux/ip.h> |
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 618ab5079816..fac275c48108 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -42,7 +42,7 @@ | |||
42 | * Hirokazu Takahashi: sendfile() on UDP works now. | 42 | * Hirokazu Takahashi: sendfile() on UDP works now. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/module.h> | 46 | #include <linux/module.h> |
47 | #include <linux/types.h> | 47 | #include <linux/types.h> |
48 | #include <linux/kernel.h> | 48 | #include <linux/kernel.h> |
diff --git a/net/ipv4/ip_sockglue.c b/net/ipv4/ip_sockglue.c index 976073417b03..57e1405e8282 100644 --- a/net/ipv4/ip_sockglue.c +++ b/net/ipv4/ip_sockglue.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <net/ip_fib.h> | 44 | #include <net/ip_fib.h> |
45 | 45 | ||
46 | #include <linux/errqueue.h> | 46 | #include <linux/errqueue.h> |
47 | #include <asm/uaccess.h> | 47 | #include <linux/uaccess.h> |
48 | 48 | ||
49 | /* | 49 | /* |
50 | * SOL_IP control messages. | 50 | * SOL_IP control messages. |
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 071a785c65eb..fd9f34bbd740 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -61,7 +61,7 @@ | |||
61 | #include <net/ipconfig.h> | 61 | #include <net/ipconfig.h> |
62 | #include <net/route.h> | 62 | #include <net/route.h> |
63 | 63 | ||
64 | #include <asm/uaccess.h> | 64 | #include <linux/uaccess.h> |
65 | #include <net/checksum.h> | 65 | #include <net/checksum.h> |
66 | #include <asm/processor.h> | 66 | #include <asm/processor.h> |
67 | 67 | ||
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index 79489f017854..00d4229b6954 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -96,7 +96,7 @@ | |||
96 | #include <linux/types.h> | 96 | #include <linux/types.h> |
97 | #include <linux/kernel.h> | 97 | #include <linux/kernel.h> |
98 | #include <linux/slab.h> | 98 | #include <linux/slab.h> |
99 | #include <asm/uaccess.h> | 99 | #include <linux/uaccess.h> |
100 | #include <linux/skbuff.h> | 100 | #include <linux/skbuff.h> |
101 | #include <linux/netdevice.h> | 101 | #include <linux/netdevice.h> |
102 | #include <linux/in.h> | 102 | #include <linux/in.h> |
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 665505d86b12..efc1e76d4977 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -26,7 +26,7 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include <asm/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/capability.h> | 31 | #include <linux/capability.h> |
32 | #include <linux/errno.h> | 32 | #include <linux/errno.h> |
diff --git a/net/ipv4/netfilter/arp_tables.c b/net/ipv4/netfilter/arp_tables.c index 1258a9ab62ef..a467e1236c43 100644 --- a/net/ipv4/netfilter/arp_tables.c +++ b/net/ipv4/netfilter/arp_tables.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/err.h> | 24 | #include <linux/err.h> |
25 | #include <net/compat.h> | 25 | #include <net/compat.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | 28 | ||
29 | #include <linux/netfilter/x_tables.h> | 29 | #include <linux/netfilter/x_tables.h> |
30 | #include <linux/netfilter_arp/arp_tables.h> | 30 | #include <linux/netfilter_arp/arp_tables.h> |
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 308b456723f0..91656a1d8fbd 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/icmp.h> | 20 | #include <linux/icmp.h> |
21 | #include <net/ip.h> | 21 | #include <net/ip.h> |
22 | #include <net/compat.h> | 22 | #include <net/compat.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/mutex.h> | 24 | #include <linux/mutex.h> |
25 | #include <linux/proc_fs.h> | 25 | #include <linux/proc_fs.h> |
26 | #include <linux/err.h> | 26 | #include <linux/err.h> |
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 2300fae11b22..4e49e5cb001c 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <linux/atomic.h> | 41 | #include <linux/atomic.h> |
42 | #include <asm/byteorder.h> | 42 | #include <asm/byteorder.h> |
43 | #include <asm/current.h> | 43 | #include <asm/current.h> |
44 | #include <asm/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <asm/ioctls.h> | 45 | #include <asm/ioctls.h> |
46 | #include <linux/stddef.h> | 46 | #include <linux/stddef.h> |
47 | #include <linux/slab.h> | 47 | #include <linux/slab.h> |
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 9eabf490133a..a82a11747b3f 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -65,7 +65,7 @@ | |||
65 | #define pr_fmt(fmt) "IPv4: " fmt | 65 | #define pr_fmt(fmt) "IPv4: " fmt |
66 | 66 | ||
67 | #include <linux/module.h> | 67 | #include <linux/module.h> |
68 | #include <asm/uaccess.h> | 68 | #include <linux/uaccess.h> |
69 | #include <linux/bitops.h> | 69 | #include <linux/bitops.h> |
70 | #include <linux/types.h> | 70 | #include <linux/types.h> |
71 | #include <linux/kernel.h> | 71 | #include <linux/kernel.h> |
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 1ef3165114ba..4a044964da66 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -277,7 +277,7 @@ | |||
277 | #include <net/ip.h> | 277 | #include <net/ip.h> |
278 | #include <net/sock.h> | 278 | #include <net/sock.h> |
279 | 279 | ||
280 | #include <asm/uaccess.h> | 280 | #include <linux/uaccess.h> |
281 | #include <asm/ioctls.h> | 281 | #include <asm/ioctls.h> |
282 | #include <net/busy_poll.h> | 282 | #include <net/busy_poll.h> |
283 | 283 | ||
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 9ca279b130d5..1307a7c2e544 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -79,7 +79,7 @@ | |||
79 | 79 | ||
80 | #define pr_fmt(fmt) "UDP: " fmt | 80 | #define pr_fmt(fmt) "UDP: " fmt |
81 | 81 | ||
82 | #include <asm/uaccess.h> | 82 | #include <linux/uaccess.h> |
83 | #include <asm/ioctls.h> | 83 | #include <asm/ioctls.h> |
84 | #include <linux/bootmem.h> | 84 | #include <linux/bootmem.h> |
85 | #include <linux/highmem.h> | 85 | #include <linux/highmem.h> |
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 237e654ba717..aa42123bc301 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <net/calipso.h> | 63 | #include <net/calipso.h> |
64 | #include <net/seg6.h> | 64 | #include <net/seg6.h> |
65 | 65 | ||
66 | #include <asm/uaccess.h> | 66 | #include <linux/uaccess.h> |
67 | #include <linux/mroute6.h> | 67 | #include <linux/mroute6.h> |
68 | 68 | ||
69 | #include "ip6_offload.h" | 69 | #include "ip6_offload.h" |
diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c index 1407426bc862..a3eaafd87100 100644 --- a/net/ipv6/datagram.c +++ b/net/ipv6/datagram.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <net/dsfield.h> | 33 | #include <net/dsfield.h> |
34 | 34 | ||
35 | #include <linux/errqueue.h> | 35 | #include <linux/errqueue.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | 37 | ||
38 | static bool ipv6_mapped_addr_any(const struct in6_addr *a) | 38 | static bool ipv6_mapped_addr_any(const struct in6_addr *a) |
39 | { | 39 | { |
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 17fa28f7a0ff..3036f665e6c8 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -70,7 +70,7 @@ | |||
70 | #include <net/dsfield.h> | 70 | #include <net/dsfield.h> |
71 | #include <net/l3mdev.h> | 71 | #include <net/l3mdev.h> |
72 | 72 | ||
73 | #include <asm/uaccess.h> | 73 | #include <linux/uaccess.h> |
74 | 74 | ||
75 | /* | 75 | /* |
76 | * The ICMP socket(s). This is the most convenient way to flow control | 76 | * The ICMP socket(s). This is the most convenient way to flow control |
diff --git a/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c index b912f0dbaf72..8081bafe441b 100644 --- a/net/ipv6/ip6_flowlabel.c +++ b/net/ipv6/ip6_flowlabel.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <net/rawv6.h> | 29 | #include <net/rawv6.h> |
30 | #include <net/transp_v6.h> | 30 | #include <net/transp_v6.h> |
31 | 31 | ||
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | 33 | ||
34 | #define FL_MIN_LINGER 6 /* Minimal linger. It is set to 6sec specified | 34 | #define FL_MIN_LINGER 6 /* Minimal linger. It is set to 6sec specified |
35 | in old IPv6 RFC. Well, it was reasonable value. | 35 | in old IPv6 RFC. Well, it was reasonable value. |
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 8b186b56183a..36d292180942 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <linux/hash.h> | 42 | #include <linux/hash.h> |
43 | #include <linux/etherdevice.h> | 43 | #include <linux/etherdevice.h> |
44 | 44 | ||
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <linux/atomic.h> | 46 | #include <linux/atomic.h> |
47 | 47 | ||
48 | #include <net/icmp.h> | 48 | #include <net/icmp.h> |
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 52101b37ad6e..604d8953c775 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
@@ -16,7 +16,7 @@ | |||
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index 3ba530373560..ee97c44e2aa0 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include <net/compat.h> | 54 | #include <net/compat.h> |
55 | #include <net/seg6.h> | 55 | #include <net/seg6.h> |
56 | 56 | ||
57 | #include <asm/uaccess.h> | 57 | #include <linux/uaccess.h> |
58 | 58 | ||
59 | struct ip6_ra_chain *ip6_ra_chain; | 59 | struct ip6_ra_chain *ip6_ra_chain; |
60 | DEFINE_RWLOCK(ip6_ra_lock); | 60 | DEFINE_RWLOCK(ip6_ra_lock); |
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index d56d8ac09a94..25a022d41a70 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/icmpv6.h> | 24 | #include <linux/icmpv6.h> |
25 | #include <net/ipv6.h> | 25 | #include <net/ipv6.h> |
26 | #include <net/compat.h> | 26 | #include <net/compat.h> |
27 | #include <asm/uaccess.h> | 27 | #include <linux/uaccess.h> |
28 | #include <linux/mutex.h> | 28 | #include <linux/mutex.h> |
29 | #include <linux/proc_fs.h> | 29 | #include <linux/proc_fs.h> |
30 | #include <linux/err.h> | 30 | #include <linux/err.h> |
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 890acace01d0..8417c41d8ec8 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #include <net/l3mdev.h> | 64 | #include <net/l3mdev.h> |
65 | #include <trace/events/fib6.h> | 65 | #include <trace/events/fib6.h> |
66 | 66 | ||
67 | #include <asm/uaccess.h> | 67 | #include <linux/uaccess.h> |
68 | 68 | ||
69 | #ifdef CONFIG_SYSCTL | 69 | #ifdef CONFIG_SYSCTL |
70 | #include <linux/sysctl.h> | 70 | #include <linux/sysctl.h> |
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index 0355231162b8..fad992ad4bc8 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/if_arp.h> | 31 | #include <linux/if_arp.h> |
32 | #include <linux/icmp.h> | 32 | #include <linux/icmp.h> |
33 | #include <linux/slab.h> | 33 | #include <linux/slab.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/init.h> | 35 | #include <linux/init.h> |
36 | #include <linux/netfilter_ipv4.h> | 36 | #include <linux/netfilter_ipv4.h> |
37 | #include <linux/if_ether.h> | 37 | #include <linux/if_ether.h> |
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 649efc26a252..4d5c4eee4b3f 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/module.h> | 35 | #include <linux/module.h> |
36 | #include <linux/skbuff.h> | 36 | #include <linux/skbuff.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <asm/uaccess.h> | 38 | #include <linux/uaccess.h> |
39 | 39 | ||
40 | #include <net/addrconf.h> | 40 | #include <net/addrconf.h> |
41 | #include <net/ndisc.h> | 41 | #include <net/ndisc.h> |
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 48d0dc89b58d..e07f22b0c58a 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <net/tcp_states.h> | 56 | #include <net/tcp_states.h> |
57 | #include <net/net_namespace.h> | 57 | #include <net/net_namespace.h> |
58 | 58 | ||
59 | #include <asm/uaccess.h> | 59 | #include <linux/uaccess.h> |
60 | 60 | ||
61 | /* Configuration Variables */ | 61 | /* Configuration Variables */ |
62 | static unsigned char ipxcfg_max_hops = 16; | 62 | static unsigned char ipxcfg_max_hops = 16; |
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index 391c3cbd2eed..ab254041dab7 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include <linux/poll.h> | 52 | #include <linux/poll.h> |
53 | 53 | ||
54 | #include <asm/ioctls.h> /* TIOCOUTQ, TIOCINQ */ | 54 | #include <asm/ioctls.h> /* TIOCOUTQ, TIOCINQ */ |
55 | #include <asm/uaccess.h> | 55 | #include <linux/uaccess.h> |
56 | 56 | ||
57 | #include <net/sock.h> | 57 | #include <net/sock.h> |
58 | #include <net/tcp_states.h> | 58 | #include <net/tcp_states.h> |
diff --git a/net/irda/ircomm/ircomm_tty.c b/net/irda/ircomm/ircomm_tty.c index 873c4b707d6a..817b1b186aff 100644 --- a/net/irda/ircomm/ircomm_tty.c +++ b/net/irda/ircomm/ircomm_tty.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/interrupt.h> | 40 | #include <linux/interrupt.h> |
41 | #include <linux/device.h> /* for MODULE_ALIAS_CHARDEV_MAJOR */ | 41 | #include <linux/device.h> /* for MODULE_ALIAS_CHARDEV_MAJOR */ |
42 | 42 | ||
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | 44 | ||
45 | #include <net/irda/irda.h> | 45 | #include <net/irda/irda.h> |
46 | #include <net/irda/irmod.h> | 46 | #include <net/irda/irmod.h> |
diff --git a/net/irda/ircomm/ircomm_tty_ioctl.c b/net/irda/ircomm/ircomm_tty_ioctl.c index 8f5678cb6263..f18070118d05 100644 --- a/net/irda/ircomm/ircomm_tty_ioctl.c +++ b/net/irda/ircomm/ircomm_tty_ioctl.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/tty.h> | 32 | #include <linux/tty.h> |
33 | #include <linux/serial.h> | 33 | #include <linux/serial.h> |
34 | 34 | ||
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | 36 | ||
37 | #include <net/irda/irda.h> | 37 | #include <net/irda/irda.h> |
38 | #include <net/irda/irmod.h> | 38 | #include <net/irda/irmod.h> |
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 856736656a30..890b90d055d5 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/export.h> | 43 | #include <linux/export.h> |
44 | 44 | ||
45 | #include <asm/ioctls.h> | 45 | #include <asm/ioctls.h> |
46 | #include <asm/uaccess.h> | 46 | #include <linux/uaccess.h> |
47 | #include <asm/dma.h> | 47 | #include <asm/dma.h> |
48 | #include <asm/io.h> | 48 | #include <asm/io.h> |
49 | 49 | ||
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index c69f0f38f566..9d451f8ed47a 100644 --- a/net/irda/irnet/irnet.h +++ b/net/irda/irnet/irnet.h | |||
@@ -249,7 +249,7 @@ | |||
249 | #include <linux/capability.h> | 249 | #include <linux/capability.h> |
250 | #include <linux/ctype.h> /* isspace() */ | 250 | #include <linux/ctype.h> /* isspace() */ |
251 | #include <linux/string.h> /* skip_spaces() */ | 251 | #include <linux/string.h> /* skip_spaces() */ |
252 | #include <asm/uaccess.h> | 252 | #include <linux/uaccess.h> |
253 | #include <linux/init.h> | 253 | #include <linux/init.h> |
254 | 254 | ||
255 | #include <linux/ppp_defs.h> | 255 | #include <linux/ppp_defs.h> |
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index fc60d9d738b5..b50b64ac8815 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <linux/skbuff.h> | 33 | #include <linux/skbuff.h> |
34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
35 | #include <net/sock.h> | 35 | #include <net/sock.h> |
36 | #include <asm/uaccess.h> | 36 | #include <linux/uaccess.h> |
37 | #include <linux/fcntl.h> | 37 | #include <linux/fcntl.h> |
38 | #include <linux/mm.h> | 38 | #include <linux/mm.h> |
39 | #include <linux/interrupt.h> | 39 | #include <linux/interrupt.h> |
diff --git a/net/lapb/lapb_in.c b/net/lapb/lapb_in.c index 182470847fcf..d5d2110eb717 100644 --- a/net/lapb/lapb_in.c +++ b/net/lapb/lapb_in.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/skbuff.h> | 31 | #include <linux/skbuff.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <net/sock.h> | 33 | #include <net/sock.h> |
34 | #include <asm/uaccess.h> | 34 | #include <linux/uaccess.h> |
35 | #include <linux/fcntl.h> | 35 | #include <linux/fcntl.h> |
36 | #include <linux/mm.h> | 36 | #include <linux/mm.h> |
37 | #include <linux/interrupt.h> | 37 | #include <linux/interrupt.h> |
diff --git a/net/lapb/lapb_out.c b/net/lapb/lapb_out.c index 482c94d9d958..eda726e22f64 100644 --- a/net/lapb/lapb_out.c +++ b/net/lapb/lapb_out.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/skbuff.h> | 29 | #include <linux/skbuff.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | #include <net/sock.h> | 31 | #include <net/sock.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/fcntl.h> | 33 | #include <linux/fcntl.h> |
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
diff --git a/net/lapb/lapb_subr.c b/net/lapb/lapb_subr.c index 3c1914df641f..75efde3e616c 100644 --- a/net/lapb/lapb_subr.c +++ b/net/lapb/lapb_subr.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/skbuff.h> | 28 | #include <linux/skbuff.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <net/sock.h> | 30 | #include <net/sock.h> |
31 | #include <asm/uaccess.h> | 31 | #include <linux/uaccess.h> |
32 | #include <linux/fcntl.h> | 32 | #include <linux/fcntl.h> |
33 | #include <linux/mm.h> | 33 | #include <linux/mm.h> |
34 | #include <linux/interrupt.h> | 34 | #include <linux/interrupt.h> |
diff --git a/net/lapb/lapb_timer.c b/net/lapb/lapb_timer.c index 355cc3b6fa4d..1a5535bc3b8d 100644 --- a/net/lapb/lapb_timer.c +++ b/net/lapb/lapb_timer.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/inet.h> | 29 | #include <linux/inet.h> |
30 | #include <linux/skbuff.h> | 30 | #include <linux/skbuff.h> |
31 | #include <net/sock.h> | 31 | #include <net/sock.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/fcntl.h> | 33 | #include <linux/fcntl.h> |
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 3d02b0c13547..55e0169caa4c 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <net/sock.h> | 48 | #include <net/sock.h> |
49 | #include <net/genetlink.h> | 49 | #include <net/genetlink.h> |
50 | 50 | ||
51 | #include <asm/uaccess.h> | 51 | #include <linux/uaccess.h> |
52 | 52 | ||
53 | #include <net/ip_vs.h> | 53 | #include <net/ip_vs.h> |
54 | 54 | ||
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index 2278d9ab723b..a09fa9fd8f3d 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/sockios.h> | 22 | #include <linux/sockios.h> |
23 | #include <linux/net.h> | 23 | #include <linux/net.h> |
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <linux/init.h> | 27 | #include <linux/init.h> |
28 | 28 | ||
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 801d474de75b..161b628ab2b0 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #include <linux/net.h> | 40 | #include <linux/net.h> |
41 | #include <linux/fs.h> | 41 | #include <linux/fs.h> |
42 | #include <linux/slab.h> | 42 | #include <linux/slab.h> |
43 | #include <asm/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <linux/skbuff.h> | 44 | #include <linux/skbuff.h> |
45 | #include <linux/netdevice.h> | 45 | #include <linux/netdevice.h> |
46 | #include <linux/rtnetlink.h> | 46 | #include <linux/rtnetlink.h> |
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 49cd0c70a13a..b9e1a13b4ba3 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -73,7 +73,7 @@ | |||
73 | #include <net/sock.h> | 73 | #include <net/sock.h> |
74 | #include <linux/errno.h> | 74 | #include <linux/errno.h> |
75 | #include <linux/timer.h> | 75 | #include <linux/timer.h> |
76 | #include <asm/uaccess.h> | 76 | #include <linux/uaccess.h> |
77 | #include <asm/ioctls.h> | 77 | #include <asm/ioctls.h> |
78 | #include <asm/page.h> | 78 | #include <asm/page.h> |
79 | #include <asm/cacheflush.h> | 79 | #include <asm/cacheflush.h> |
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index 129d357d2722..9ad301c46b88 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/if_arp.h> | 34 | #include <linux/if_arp.h> |
35 | #include <linux/skbuff.h> | 35 | #include <linux/skbuff.h> |
36 | #include <net/sock.h> | 36 | #include <net/sock.h> |
37 | #include <asm/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <linux/fcntl.h> | 38 | #include <linux/fcntl.h> |
39 | #include <linux/termios.h> | 39 | #include <linux/termios.h> |
40 | #include <linux/mm.h> | 40 | #include <linux/mm.h> |
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 0fc76d845103..452bbb38d943 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
26 | #include <net/sock.h> | 26 | #include <net/sock.h> |
27 | #include <net/tcp_states.h> | 27 | #include <net/tcp_states.h> |
28 | #include <asm/uaccess.h> | 28 | #include <linux/uaccess.h> |
29 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
30 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ | 30 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ |
31 | #include <linux/mm.h> | 31 | #include <linux/mm.h> |
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 176af3080a2b..5ed8e79bf102 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -71,7 +71,7 @@ | |||
71 | #include <net/inet_ecn.h> | 71 | #include <net/inet_ecn.h> |
72 | #include <net/sctp/sctp.h> | 72 | #include <net/sctp/sctp.h> |
73 | 73 | ||
74 | #include <asm/uaccess.h> | 74 | #include <linux/uaccess.h> |
75 | 75 | ||
76 | static inline int sctp_v6_addr_match_len(union sctp_addr *s1, | 76 | static inline int sctp_v6_addr_match_len(union sctp_addr *s1, |
77 | union sctp_addr *s2); | 77 | union sctp_addr *s2); |
diff --git a/net/socket.c b/net/socket.c index dc01d7be2fda..5ff26c44db33 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #include <linux/slab.h> | 90 | #include <linux/slab.h> |
91 | #include <linux/xattr.h> | 91 | #include <linux/xattr.h> |
92 | 92 | ||
93 | #include <asm/uaccess.h> | 93 | #include <linux/uaccess.h> |
94 | #include <asm/unistd.h> | 94 | #include <asm/unistd.h> |
95 | 95 | ||
96 | #include <net/compat.h> | 96 | #include <net/compat.h> |
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 16cea00c959b..cdeb1d814833 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include <linux/workqueue.h> | 50 | #include <linux/workqueue.h> |
51 | #include <linux/sunrpc/rpc_pipe_fs.h> | 51 | #include <linux/sunrpc/rpc_pipe_fs.h> |
52 | #include <linux/sunrpc/gss_api.h> | 52 | #include <linux/sunrpc/gss_api.h> |
53 | #include <asm/uaccess.h> | 53 | #include <linux/uaccess.h> |
54 | #include <linux/hashtable.h> | 54 | #include <linux/hashtable.h> |
55 | 55 | ||
56 | #include "../netns.h" | 56 | #include "../netns.h" |
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 8aabe12201f8..8147e8d56eb2 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
22 | #include <linux/ctype.h> | 22 | #include <linux/ctype.h> |
23 | #include <linux/string_helpers.h> | 23 | #include <linux/string_helpers.h> |
24 | #include <asm/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <linux/poll.h> | 25 | #include <linux/poll.h> |
26 | #include <linux/seq_file.h> | 26 | #include <linux/seq_file.h> |
27 | #include <linux/proc_fs.h> | 27 | #include <linux/proc_fs.h> |
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 135ec2c11b3b..a3e85ee28b5a 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <net/udp.h> | 42 | #include <net/udp.h> |
43 | #include <net/tcp.h> | 43 | #include <net/tcp.h> |
44 | #include <net/tcp_states.h> | 44 | #include <net/tcp_states.h> |
45 | #include <asm/uaccess.h> | 45 | #include <linux/uaccess.h> |
46 | #include <asm/ioctls.h> | 46 | #include <asm/ioctls.h> |
47 | #include <trace/events/skb.h> | 47 | #include <trace/events/skb.h> |
48 | 48 | ||
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index c88d9bc06f5c..8c3936403fea 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/sysctl.h> | 14 | #include <linux/sysctl.h> |
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | 16 | ||
17 | #include <asm/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include <linux/sunrpc/types.h> | 18 | #include <linux/sunrpc/types.h> |
19 | #include <linux/sunrpc/sched.h> | 19 | #include <linux/sunrpc/sched.h> |
20 | #include <linux/sunrpc/stats.h> | 20 | #include <linux/sunrpc/stats.h> |
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 310882fb698e..127656ebe7be 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -100,7 +100,7 @@ | |||
100 | #include <linux/in.h> | 100 | #include <linux/in.h> |
101 | #include <linux/fs.h> | 101 | #include <linux/fs.h> |
102 | #include <linux/slab.h> | 102 | #include <linux/slab.h> |
103 | #include <asm/uaccess.h> | 103 | #include <linux/uaccess.h> |
104 | #include <linux/skbuff.h> | 104 | #include <linux/skbuff.h> |
105 | #include <linux/netdevice.h> | 105 | #include <linux/netdevice.h> |
106 | #include <net/net_namespace.h> | 106 | #include <net/net_namespace.h> |
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index f83b74d3e2ac..079c883aa96e 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <linux/slab.h> | 51 | #include <linux/slab.h> |
52 | #include <net/sock.h> | 52 | #include <net/sock.h> |
53 | #include <net/tcp_states.h> | 53 | #include <net/tcp_states.h> |
54 | #include <asm/uaccess.h> | 54 | #include <linux/uaccess.h> |
55 | #include <linux/fcntl.h> | 55 | #include <linux/fcntl.h> |
56 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ | 56 | #include <linux/termios.h> /* For TIOCINQ/OUTQ */ |
57 | #include <linux/notifier.h> | 57 | #include <linux/notifier.h> |
diff --git a/net/x25/x25_link.c b/net/x25/x25_link.c index fd5ffb25873f..bcaa180d6a3f 100644 --- a/net/x25/x25_link.c +++ b/net/x25/x25_link.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/netdevice.h> | 30 | #include <linux/netdevice.h> |
31 | #include <linux/skbuff.h> | 31 | #include <linux/skbuff.h> |
32 | #include <asm/uaccess.h> | 32 | #include <linux/uaccess.h> |
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | #include <net/x25.h> | 34 | #include <net/x25.h> |
35 | 35 | ||
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 45cb7c699b65..d4ab9a7f3d94 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/cache.h> | 21 | #include <linux/cache.h> |
22 | #include <linux/audit.h> | 22 | #include <linux/audit.h> |
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <linux/ktime.h> | 24 | #include <linux/ktime.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 671a1d0333f0..9705c279494b 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <net/xfrm.h> | 27 | #include <net/xfrm.h> |
28 | #include <net/netlink.h> | 28 | #include <net/netlink.h> |
29 | #include <net/ah.h> | 29 | #include <net/ah.h> |
30 | #include <asm/uaccess.h> | 30 | #include <linux/uaccess.h> |
31 | #if IS_ENABLED(CONFIG_IPV6) | 31 | #if IS_ENABLED(CONFIG_IPV6) |
32 | #include <linux/in6.h> | 32 | #include <linux/in6.h> |
33 | #endif | 33 | #endif |
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index f89f1900e58d..04a764f71ec8 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/vmalloc.h> | 23 | #include <linux/vmalloc.h> |
24 | #include <linux/security.h> | 24 | #include <linux/security.h> |
25 | #include <linux/uio.h> | 25 | #include <linux/uio.h> |
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include "internal.h" | 27 | #include "internal.h" |
28 | 28 | ||
29 | #define KEY_MAX_DESC_SIZE 4096 | 29 | #define KEY_MAX_DESC_SIZE 4096 |
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index 40a885239782..918cddcd4516 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/mutex.h> | 18 | #include <linux/mutex.h> |
19 | #include <linux/security.h> | 19 | #include <linux/security.h> |
20 | #include <linux/user_namespace.h> | 20 | #include <linux/user_namespace.h> |
21 | #include <asm/uaccess.h> | 21 | #include <linux/uaccess.h> |
22 | #include "internal.h" | 22 | #include "internal.h" |
23 | 23 | ||
24 | /* Session keyring create vs join semaphore */ | 24 | /* Session keyring create vs join semaphore */ |
diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 9db8b4a82787..6bbe2f535f08 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/err.h> | 16 | #include <linux/err.h> |
17 | #include <linux/seq_file.h> | 17 | #include <linux/seq_file.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include <asm/uaccess.h> | 19 | #include <linux/uaccess.h> |
20 | #include "internal.h" | 20 | #include "internal.h" |
21 | #include <keys/user-type.h> | 21 | #include <keys/user-type.h> |
22 | 22 | ||
diff --git a/security/keys/user_defined.c b/security/keys/user_defined.c index 66b1840b4110..e187c8909d9d 100644 --- a/security/keys/user_defined.c +++ b/security/keys/user_defined.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/seq_file.h> | 15 | #include <linux/seq_file.h> |
16 | #include <linux/err.h> | 16 | #include <linux/err.h> |
17 | #include <keys/user-type.h> | 17 | #include <keys/user-type.h> |
18 | #include <asm/uaccess.h> | 18 | #include <linux/uaccess.h> |
19 | #include "internal.h" | 19 | #include "internal.h" |
20 | 20 | ||
21 | static int logon_vet_description(const char *desc); | 21 | static int logon_vet_description(const char *desc); |
diff --git a/sound/oss/dmasound/dmasound_atari.c b/sound/oss/dmasound/dmasound_atari.c index 1c56bf58eff9..a1a2979c0bb1 100644 --- a/sound/oss/dmasound/dmasound_atari.c +++ b/sound/oss/dmasound/dmasound_atari.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/spinlock.h> | 22 | #include <linux/spinlock.h> |
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <linux/uaccess.h> |
26 | #include <asm/atariints.h> | 26 | #include <asm/atariints.h> |
27 | #include <asm/atari_stram.h> | 27 | #include <asm/atari_stram.h> |
28 | 28 | ||
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c index f4ee85a4c42f..5f248fb41bea 100644 --- a/sound/oss/dmasound/dmasound_core.c +++ b/sound/oss/dmasound/dmasound_core.c | |||
@@ -183,7 +183,7 @@ | |||
183 | #include <linux/poll.h> | 183 | #include <linux/poll.h> |
184 | #include <linux/mutex.h> | 184 | #include <linux/mutex.h> |
185 | 185 | ||
186 | #include <asm/uaccess.h> | 186 | #include <linux/uaccess.h> |
187 | 187 | ||
188 | #include "dmasound.h" | 188 | #include "dmasound.h" |
189 | 189 | ||
diff --git a/sound/oss/dmasound/dmasound_paula.c b/sound/oss/dmasound/dmasound_paula.c index 3f653618614d..81eb82c4675a 100644 --- a/sound/oss/dmasound/dmasound_paula.c +++ b/sound/oss/dmasound/dmasound_paula.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | 25 | ||
26 | #include <asm/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <asm/setup.h> | 27 | #include <asm/setup.h> |
28 | #include <asm/amigahw.h> | 28 | #include <asm/amigahw.h> |
29 | #include <asm/amigaints.h> | 29 | #include <asm/amigaints.h> |
diff --git a/sound/oss/dmasound/dmasound_q40.c b/sound/oss/dmasound/dmasound_q40.c index 99bcb21c2281..be4fe15cfd6b 100644 --- a/sound/oss/dmasound/dmasound_q40.c +++ b/sound/oss/dmasound/dmasound_q40.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/soundcard.h> | 20 | #include <linux/soundcard.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | 22 | ||
23 | #include <asm/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #include <asm/q40ints.h> | 24 | #include <asm/q40ints.h> |
25 | #include <asm/q40_master.h> | 25 | #include <asm/q40_master.h> |
26 | 26 | ||
diff --git a/sound/oss/msnd.c b/sound/oss/msnd.c index c0cc951ba97d..b63010ad22f1 100644 --- a/sound/oss/msnd.c +++ b/sound/oss/msnd.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/interrupt.h> | 32 | #include <linux/interrupt.h> |
33 | 33 | ||
34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
35 | #include <asm/uaccess.h> | 35 | #include <linux/uaccess.h> |
36 | #include <linux/spinlock.h> | 36 | #include <linux/spinlock.h> |
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include "msnd.h" | 38 | #include "msnd.h" |
diff --git a/sound/oss/os.h b/sound/oss/os.h index 75ad0cd0c0ab..0bf89e1d679c 100644 --- a/sound/oss/os.h +++ b/sound/oss/os.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/ioport.h> | 17 | #include <linux/ioport.h> |
18 | #include <asm/page.h> | 18 | #include <asm/page.h> |
19 | #include <linux/vmalloc.h> | 19 | #include <linux/vmalloc.h> |
20 | #include <asm/uaccess.h> | 20 | #include <linux/uaccess.h> |
21 | #include <linux/poll.h> | 21 | #include <linux/poll.h> |
22 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
23 | #endif | 23 | #endif |
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c index 213a416b6e0b..f3af63e58b36 100644 --- a/sound/oss/swarm_cs4297a.c +++ b/sound/oss/swarm_cs4297a.c | |||
@@ -80,7 +80,7 @@ | |||
80 | #include <asm/byteorder.h> | 80 | #include <asm/byteorder.h> |
81 | #include <asm/dma.h> | 81 | #include <asm/dma.h> |
82 | #include <asm/io.h> | 82 | #include <asm/io.h> |
83 | #include <asm/uaccess.h> | 83 | #include <linux/uaccess.h> |
84 | 84 | ||
85 | #include <asm/sibyte/sb1250_regs.h> | 85 | #include <asm/sibyte/sb1250_regs.h> |
86 | #include <asm/sibyte/sb1250_int.h> | 86 | #include <asm/sibyte/sb1250_int.h> |
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index de102cae7125..994f81f8eecb 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #include <asm/processor.h> | 53 | #include <asm/processor.h> |
54 | #include <asm/io.h> | 54 | #include <asm/io.h> |
55 | #include <asm/ioctl.h> | 55 | #include <asm/ioctl.h> |
56 | #include <asm/uaccess.h> | 56 | #include <linux/uaccess.h> |
57 | #include <asm/pgtable.h> | 57 | #include <asm/pgtable.h> |
58 | 58 | ||
59 | #include "coalesced_mmio.h" | 59 | #include "coalesced_mmio.h" |