Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
839cc295
Commit
839cc295
authored
Mar 21, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arc: switch to RAW_COPY_USER
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3a1e37ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
arch/arc/Kconfig
arch/arc/Kconfig
+1
-0
arch/arc/include/asm/uaccess.h
arch/arc/include/asm/uaccess.h
+4
-4
No files found.
arch/arc/Kconfig
View file @
839cc295
...
...
@@ -44,6 +44,7 @@ config ARC
select HAVE_GENERIC_DMA_COHERENT
select HAVE_KERNEL_GZIP
select HAVE_KERNEL_LZMA
select ARCH_HAS_RAW_COPY_USER
config MIGHT_HAVE_PCI
bool
...
...
arch/arc/include/asm/uaccess.h
View file @
839cc295
...
...
@@ -721,8 +721,8 @@ static inline long __arc_strnlen_user(const char __user *s, long n)
}
#ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
#define
__copy_from_user(t, f, n) __arc_copy_from_user(t, f, n)
#define
__copy_to_user(t, f, n) __arc_copy_to_user(t, f, n)
#define
raw_copy_from_user __arc_copy_from_user
#define
raw_copy_to_user __arc_copy_to_user
#define __clear_user(d, n) __arc_clear_user(d, n)
#define __strncpy_from_user(d, s, n) __arc_strncpy_from_user(d, s, n)
#define __strnlen_user(s, n) __arc_strnlen_user(s, n)
...
...
@@ -737,8 +737,8 @@ extern long arc_strncpy_from_user_noinline (char *dst, const char __user *src,
long
count
);
extern
long
arc_strnlen_user_noinline
(
const
char
__user
*
src
,
long
n
);
#define
__copy_from_user(t, f, n) arc_copy_from_user_noinline(t, f, n)
#define
__copy_to_user(t, f, n) arc_copy_to_user_noinline(t, f, n)
#define
raw_copy_from_user arc_copy_from_user_noinline
#define
raw_copy_to_user arc_copy_to_user_noinline
#define __clear_user(d, n) arc_clear_user_noinline(d, n)
#define __strncpy_from_user(d, s, n) arc_strncpy_from_user_noinline(d, s, n)
#define __strnlen_user(s, n) arc_strnlen_user_noinline(s, n)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment