mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
asm-generic/uaccess.h: don't mess with __copy_{to,from}_user
only h8300 actually used those; might as well define them there. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
db68ce10c4
commit
3fb5007528
6 changed files with 52 additions and 71 deletions
|
|
@ -31,8 +31,6 @@ static inline int __access_ok(unsigned long addr, unsigned long size);
|
|||
/* Teach asm-generic/uaccess.h that we have C functions for these. */
|
||||
#define __access_ok __access_ok
|
||||
#define __clear_user __clear_user
|
||||
#define __copy_to_user __copy_to_user
|
||||
#define __copy_from_user __copy_from_user
|
||||
#define __strnlen_user __strnlen_user
|
||||
#define __strncpy_from_user __strncpy_from_user
|
||||
#define __copy_to_user_inatomic __copy_to_user
|
||||
|
|
|
|||
Loading…
Reference in a new issue