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>
Cette révision appartient à :
@@ -2,7 +2,7 @@
|
||||
#define _ASM_SCORE_CHECKSUM_H
|
||||
|
||||
#include <linux/in6.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
/*
|
||||
* computes the checksum of a memory block at buff, length len,
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/regset.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
/*
|
||||
* retrieve the contents of SCORE userspace general registers
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include <asm/cacheflush.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/irq_regs.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
unsigned long exception_handlers[32];
|
||||
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <net/checksum.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
unsigned int csum_partial_copy(const char *src, char *dst,
|
||||
int len, unsigned int sum)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur