mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -94,9 +94,6 @@ static inline __must_check long __copy_to_user(void __user *to,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define __copy_to_user __copy_to_user
|
||||
#define __copy_from_user __copy_from_user
|
||||
|
||||
extern int _access_ok(unsigned long addr, unsigned long size);
|
||||
#ifdef CONFIG_ACCESS_CHECK
|
||||
#define __access_ok _access_ok
|
||||
|
|
|
|||
Loading…
Reference in a new issue