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 <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user