summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-03-28 00:51:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-03-28 16:43:44 -0400
commit3fb50075284433093eba7c43e75b16eaa36eeabd (patch)
treeecb3e9670cbf3dec94b48ba1f8f604df774c9af1 /arch/c6x
parentdb68ce10c4f0a27c1ff9fa0e789e5c41f8c4ea63 (diff)
downloadlinux-stable-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.gz
linux-stable-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.bz2
linux-stable-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.h3
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