diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-25 13:43:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 03:14:27 -0400 |
commit | 8cb834e99f44bd56409b794504ae2b170675fc92 (patch) | |
tree | 32cacbbad4c5948d55068cc948ed4d7c8d27d722 /include/asm-x86/uaccess_64.h | |
parent | e30a44fdbf11c7ca3a0096d71790f176a4a09e03 (diff) |
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.h | 8 |
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 @@ | |||
11 | 11 | ||
12 | #define ARCH_HAS_SEARCH_EXTABLE | 12 | #define ARCH_HAS_SEARCH_EXTABLE |
13 | 13 | ||
14 | #define __get_user(x, ptr) \ | ||
15 | __get_user_nocheck((x), (ptr), sizeof(*(ptr))) | ||
16 | #define __put_user(x, ptr) \ | ||
17 | __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) | ||
18 | |||
19 | #define __get_user_unaligned __get_user | ||
20 | #define __put_user_unaligned __put_user | ||
21 | |||
22 | /* | 14 | /* |
23 | * Copy To/From Userspace | 15 | * Copy To/From Userspace |
24 | */ | 16 | */ |