diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 00:51:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 16:43:44 -0400 |
commit | 3fb50075284433093eba7c43e75b16eaa36eeabd (patch) | |
tree | ecb3e9670cbf3dec94b48ba1f8f604df774c9af1 /arch/c6x | |
parent | db68ce10c4f0a27c1ff9fa0e789e5c41f8c4ea63 (diff) | |
download | linux-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.gz linux-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.bz2 linux-3fb50075284433093eba7c43e75b16eaa36eeabd.zip |
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>
Diffstat (limited to 'arch/c6x')
-rw-r--r-- | arch/c6x/include/asm/uaccess.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/c6x/include/asm/uaccess.h b/arch/c6x/include/asm/uaccess.h index 453dd263bee3..79fb6f439c5c 100644 --- a/arch/c6x/include/asm/uaccess.h +++ b/arch/c6x/include/asm/uaccess.h @@ -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 |