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 /fs/ramfs | |
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>
Diffstat (limited to 'fs/ramfs')
-rw-r--r-- | fs/ramfs/file-nommu.c | 2 | ||||
-rw-r--r-- | fs/ramfs/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 |