summaryrefslogtreecommitdiff
path: root/include/asm-x86/uaccess_64.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-25 21:43:30 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-09 11:14:27 +0400
commit8cb834e99f44bd56409b794504ae2b170675fc92 (patch)
tree32cacbbad4c5948d55068cc948ed4d7c8d27d722 /include/asm-x86/uaccess_64.h
parente30a44fdbf11c7ca3a0096d71790f176a4a09e03 (diff)
downloadlinux-8cb834e99f44bd56409b794504ae2b170675fc92.tar.xz
x86: move __get_user and __put_user into uaccess.h.
We also carry the unaligned version with us. Only x86_64 uses it, but there's no problem in defining it. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/uaccess_64.h')
-rw-r--r--include/asm-x86/uaccess_64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h
index 2e75a5d1a17a..b5bacd613686 100644
--- a/include/asm-x86/uaccess_64.h
+++ b/include/asm-x86/uaccess_64.h
@@ -11,14 +11,6 @@
#define ARCH_HAS_SEARCH_EXTABLE
-#define __get_user(x, ptr) \
- __get_user_nocheck((x), (ptr), sizeof(*(ptr)))
-#define __put_user(x, ptr) \
- __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr)))
-
-#define __get_user_unaligned __get_user
-#define __put_user_unaligned __put_user
-
/*
* Copy To/From Userspace
*/