summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorAl Viro2017-03-28 06:51:43 +0200
committerAl Viro2017-03-28 22:43:44 +0200
commit3fb50075284433093eba7c43e75b16eaa36eeabd (patch)
treeecb3e9670cbf3dec94b48ba1f8f604df774c9af1 /arch/um/include
parentnew helper: uaccess_kernel() (diff)
downloadkernel-qcow2-linux-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.gz
kernel-qcow2-linux-3fb50075284433093eba7c43e75b16eaa36eeabd.tar.xz
kernel-qcow2-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/um/include')
-rw-r--r--arch/um/include/asm/uaccess.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/asm/uaccess.h b/arch/um/include/asm/uaccess.h
index e992bb57da5a..9396c8a4e920 100644
--- a/arch/um/include/asm/uaccess.h
+++ b/arch/um/include/asm/uaccess.h
@@ -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