diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-25 16:08:51 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 09:14:19 +0200 |
commit | 002ca1690c3d0a495e6aedd608281aeb01ce6385 (patch) | |
tree | b44eacf9cb730b3a3f47e0f3848fac43f68af97e /include/asm-x86/uaccess_64.h | |
parent | x86: merge getuser. (diff) | |
download | linux-002ca1690c3d0a495e6aedd608281aeb01ce6385.tar.xz linux-002ca1690c3d0a495e6aedd608281aeb01ce6385.zip |
x86: move __addr_ok to uaccess.h.
Take it out of uaccess_32.h. Since it seems that no users
of the x86_64 exists, we simply pick the i386 version.
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h index 4a44b906e4c3..81308763a4c1 100644 --- a/include/asm-x86/uaccess_64.h +++ b/include/asm-x86/uaccess_64.h @@ -9,9 +9,6 @@ #include <linux/prefetch.h> #include <asm/page.h> -#define __addr_ok(addr) (!((unsigned long)(addr) & \ - (current_thread_info()->addr_limit.seg))) - #define ARCH_HAS_SEARCH_EXTABLE extern void __put_user_1(void); |