Commit 7c0f6ba6 authored by Linus Torvalds's avatar Linus Torvalds

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: 's avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: 's avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1dd5c6b1

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -21,7 +21,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#define memzero(s,n) memset ((s),0,(n))
#define puts srm_printk
......
......@@ -26,7 +26,7 @@
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
volatile unsigned long irq_err_count;
DEFINE_PER_CPU(unsigned long, irq_pmi_count);
......
......@@ -39,7 +39,7 @@
#include <asm/fpu.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/sysinfo.h>
#include <asm/thread_info.h>
#include <asm/hwrpb.h>
......
......@@ -31,7 +31,7 @@
#include <linux/rcupdate.h>
#include <asm/reg.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/hwrpb.h>
......
......@@ -16,7 +16,7 @@
#include <linux/tracehook.h>
#include <linux/audit.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/pgtable.h>
#include <asm/fpu.h>
......
......@@ -53,7 +53,7 @@ static struct notifier_block alpha_panic_block = {
INT_MAX /* try to do it first */
};
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/pgtable.h>
#include <asm/hwrpb.h>
#include <asm/dma.h>
......
......@@ -22,7 +22,7 @@
#include <linux/syscalls.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/sigcontext.h>
#include <asm/ucontext.h>
......
......@@ -35,7 +35,7 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <asm/console.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/machvec.h>
#define BASE_DIR "srm_environment" /* Subdir in /proc/ */
......
......@@ -18,7 +18,7 @@
#include <linux/tty_flip.h>
#include <asm/console.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
static DEFINE_SPINLOCK(srmcons_callback_lock);
......
......@@ -34,7 +34,7 @@
#include <linux/profile.h>
#include <linux/irq_work.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/io.h>
#include <asm/hwrpb.h>
......
......@@ -18,7 +18,7 @@
#include <linux/ratelimit.h>
#include <asm/gentrap.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/unaligned.h>
#include <asm/sysinfo.h>
#include <asm/hwrpb.h>
......
......@@ -11,7 +11,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#define ldq_u(x,y) \
......
......@@ -3,7 +3,7 @@
#include <linux/kernel.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include "sfp-util.h"
#include <math-emu/soft-fp.h>
......
......@@ -22,7 +22,7 @@
#include <linux/vmalloc.h>
#include <linux/gfp.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/hwrpb.h>
......
......@@ -15,7 +15,7 @@
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/bL_switcher.h>
static ssize_t bL_switcher_write(struct file *file, const char __user *buf,
......
......@@ -29,7 +29,7 @@
#include <asm/opcodes.h>
#include <asm/system_info.h>
#include <asm/traps.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
/*
* Error-checking SWP macros implemented using ldrex{b}/strex{b}
......
......@@ -33,7 +33,7 @@
#define CREATE_TRACE_POINTS
#include "trace.h"
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/ptrace.h>
#include <asm/mman.h>
#include <asm/tlbflush.h>
......
......@@ -23,7 +23,7 @@
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include <asm/cputype.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/kvm.h>
#include <asm/kvm_emulate.h>
#include <asm/kvm_coproc.h>
......
......@@ -20,7 +20,7 @@
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/sysctl.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/mach/irq.h>
#include <asm/irq.h>
#include <mach/hardware.h>
......
......@@ -34,7 +34,7 @@
#include <mach/udc.h>
#include <mach/hardware.h>
#include <mach/io.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/pgtable.h>
#include <asm/page.h>
#include <asm/irq.h>
......
......@@ -20,7 +20,7 @@
#include <asm/fiq.h>
#include <asm/irq.h>
#include <mach/hardware.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/mach/dma.h>
#include <asm/hardware/iomd.h>
......
......@@ -25,7 +25,7 @@
#include <linux/sched_clock.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <mach/time.h>
......
......@@ -16,7 +16,7 @@
#ifndef __ASM_WORD_AT_A_TIME_H
#define __ASM_WORD_AT_A_TIME_H
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#ifndef __AARCH64EB__
......
......@@ -19,7 +19,7 @@
#include <asm/sysreg.h>
#include <asm/system_misc.h>
#include <asm/traps.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/cpufeature.h>
#define CREATE_TRACE_POINTS
......
......@@ -31,7 +31,7 @@
#include <asm/memory.h>
#include <asm/ptrace.h>
#include <asm/thread_info.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/unistd.h>
/*
......
......@@ -29,7 +29,7 @@
#include <asm/debug-monitors.h>
#include <asm/system_misc.h>
#include <asm/insn.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/irq.h>
#include <asm/sections.h>
......
......@@ -26,7 +26,7 @@
#include <asm/esr.h>
#include <asm/fpsimd.h>
#include <asm/signal32.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/unistd.h>
struct compat_sigcontext {
......
......@@ -26,7 +26,7 @@
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include <asm/cputype.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include <asm/kvm.h>
#include <asm/kvm_emulate.h>
#include <asm/kvm_coproc.h>
......
......@@ -17,7 +17,7 @@
*/
#include <linux/linkage.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
.text
......
......@@ -17,7 +17,7 @@
#include <linux/linkage.h>
#include <asm/cache.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
/*
* Copy from user space to a kernel buffer (alignment handled by the hardware)
......
......@@ -19,7 +19,7 @@
#include <linux/linkage.h>
#include <asm/cache.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>