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 /arch/nios2 | |
| 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 'arch/nios2')
| -rw-r--r-- | arch/nios2/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||
