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>
这个提交包含在:
@@ -34,7 +34,7 @@
|
||||
#include <linux/jiffies.h>
|
||||
#include <linux/slab.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/string.h>
|
||||
|
||||
#define PPP_VERSION "2.4.2"
|
||||
|
@@ -47,7 +47,7 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/slab.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
#define PPP_VERSION "2.4.2"
|
||||
|
||||
|
@@ -83,7 +83,7 @@
|
||||
#include <net/netns/generic.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
#define PPPOE_HASH_BITS 4
|
||||
#define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS)
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <net/sock.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1];
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户