diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 06:51:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-28 22:43:44 +0200 |
commit | 3fb50075284433093eba7c43e75b16eaa36eeabd (patch) | |
tree | ecb3e9670cbf3dec94b48ba1f8f604df774c9af1 /arch/c6x/include/asm/uaccess.h | |
parent | new helper: uaccess_kernel() (diff) | |
download | linux-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.xz 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/include/asm/uaccess.h')
-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 |